Class: Ambling::Stock::Settings::DateFormats

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/ambling/stock.rb

Overview

24

(12 / 24) The time in the legend and x axis might be displayed using 12 or 24 hour format #

Defined Under Namespace

Classes: Legend, XAxis

Constant Summary collapse

VALUES =
[:hour_format,:x_axis,:legend,:events]

Instance Attribute Summary collapse

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#eventsObject

Returns the value of attribute events.



1146
1147
1148
# File 'lib/ambling/stock.rb', line 1146

def events
  @events
end

#hour_formatObject

Returns the value of attribute hour_format.



1134
1135
1136
# File 'lib/ambling/stock.rb', line 1134

def hour_format
  @hour_format
end

#legendObject

hh:mm:ss

#



1142
1143
1144
# File 'lib/ambling/stock.rb', line 1142

def legend
  @legend
end

#x_axisObject

hh:mm:ss

#



1138
1139
1140
# File 'lib/ambling/stock.rb', line 1138

def x_axis
  @x_axis
end