Class: Ambling::Stock::Settings::DateFormats::Legend
- Inherits:
-
Object
- Object
- Ambling::Stock::Settings::DateFormats::Legend
- Includes:
- Base
- Defined in:
- lib/ambling/stock.rb
Overview
- hh:mm:ss
-
#
Constant Summary collapse
- VALUES =
[:seconds,:minutes,:hours,:days,:weeks,:months,:years]
Instance Attribute Summary collapse
-
#days ⇒ Object
- week of month DD, YYYY
-
#.
-
#hours ⇒ Object
- month DD, YYYY
-
#.
-
#minutes ⇒ Object
- hh:mm
-
#.
-
#months ⇒ Object
- YYYY
-
#.
-
#seconds ⇒ Object
- hh:mm
-
#.
-
#weeks ⇒ Object
- month YYYY
-
#.
-
#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
- week of month DD, YYYY
-
#
1199 1200 1201 |
# File 'lib/ambling/stock.rb', line 1199 def days @days end |
#hours ⇒ Object
- month DD, YYYY
-
#
1195 1196 1197 |
# File 'lib/ambling/stock.rb', line 1195 def hours @hours end |
#minutes ⇒ Object
- hh:mm
-
#
1191 1192 1193 |
# File 'lib/ambling/stock.rb', line 1191 def minutes @minutes end |
#months ⇒ Object
- YYYY
-
#
1207 1208 1209 |
# File 'lib/ambling/stock.rb', line 1207 def months @months end |
#seconds ⇒ Object
- hh:mm
-
#
1187 1188 1189 |
# File 'lib/ambling/stock.rb', line 1187 def seconds @seconds end |
#weeks ⇒ Object
- month YYYY
-
#
1203 1204 1205 |
# File 'lib/ambling/stock.rb', line 1203 def weeks @weeks end |
#years ⇒ Object
Returns the value of attribute years.
1211 1212 1213 |
# File 'lib/ambling/stock.rb', line 1211 def years @years end |