Module: HowAreWeDoing::ActsAsViewable::InstanceMethods

Defined in:
lib/how_are_we_doing/acts_as_viewable.rb

Instance Method Summary collapse

Instance Method Details

#to_view_chart_label(graph_type = nil) ⇒ Object



21
22
23
24
25
26
27
# File 'lib/how_are_we_doing/acts_as_viewable.rb', line 21

def to_view_chart_label(graph_type=nil)
  if respond_to?(:view_chart_label)
    view_chart_label(graph_type)
  else
    to_s
  end
end