Method: Fb::Metric#to_s

Defined in:
lib/fb/metric.rb

#to_sString

Returns the representation of the metric.

Returns:

  • (String)

    the representation of the metric.



31
32
33
# File 'lib/fb/metric.rb', line 31

def to_s
  "#<#{self.class.name} name=#{@name}, description=#{@description}, value=#{@value}>"
end