Class: Ambling::Stock::Settings::DateFormats::XAxis
- Inherits:
-
Object
- Object
- Ambling::Stock::Settings::DateFormats::XAxis
- Includes:
- Base
- Defined in:
- lib/ambling/stock.rb
Overview
- hh:mm:ss
-
#
Constant Summary collapse
- VALUES =
[:seconds,:minutes,:hours,:days,:months,:years]
Instance Attribute Summary collapse
-
#days ⇒ Object
- month
-
#.
-
#hours ⇒ Object
- month DD
-
#.
-
#minutes ⇒ Object
- hh:mm
-
#.
-
#months ⇒ Object
- YYYY
-
#.
-
#seconds ⇒ Object
- hh:mm
-
#.
-
#years ⇒ Object
Returns the value of attribute years.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#days ⇒ Object
- month
-
#
1169 1170 1171 |
# File 'lib/ambling/stock.rb', line 1169 def days @days end |
#hours ⇒ Object
- month DD
-
#
1165 1166 1167 |
# File 'lib/ambling/stock.rb', line 1165 def hours @hours end |
#minutes ⇒ Object
- hh:mm
-
#
1161 1162 1163 |
# File 'lib/ambling/stock.rb', line 1161 def minutes @minutes end |
#months ⇒ Object
- YYYY
-
#
1173 1174 1175 |
# File 'lib/ambling/stock.rb', line 1173 def months @months end |
#seconds ⇒ Object
- hh:mm
-
#
1157 1158 1159 |
# File 'lib/ambling/stock.rb', line 1157 def seconds @seconds end |
#years ⇒ Object
Returns the value of attribute years.
1177 1178 1179 |
# File 'lib/ambling/stock.rb', line 1177 def years @years end |