Class: Ambling::Stock::Settings::DateFormats
- Inherits:
-
Object
- Object
- Ambling::Stock::Settings::DateFormats
- 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
Constant Summary collapse
- VALUES =
[:hour_format,:x_axis,:legend,:events]
Instance Attribute Summary collapse
-
#events ⇒ Object
Returns the value of attribute events.
-
#hour_format ⇒ Object
Returns the value of attribute hour_format.
-
#legend ⇒ Object
- hh:mm:ss
-
#.
-
#x_axis ⇒ Object
- hh:mm:ss
-
#.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#events ⇒ Object
Returns the value of attribute events.
1146 1147 1148 |
# File 'lib/ambling/stock.rb', line 1146 def events @events end |
#hour_format ⇒ Object
Returns the value of attribute hour_format.
1134 1135 1136 |
# File 'lib/ambling/stock.rb', line 1134 def hour_format @hour_format end |
#legend ⇒ Object
- hh:mm:ss
-
#
1142 1143 1144 |
# File 'lib/ambling/stock.rb', line 1142 def legend @legend end |
#x_axis ⇒ Object
- hh:mm:ss
-
#
1138 1139 1140 |
# File 'lib/ambling/stock.rb', line 1138 def x_axis @x_axis end |