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

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#daysObject

week of month DD, YYYY

#



1199
1200
1201
# File 'lib/ambling/stock.rb', line 1199

def days
  @days
end

#hoursObject

month DD, YYYY

#



1195
1196
1197
# File 'lib/ambling/stock.rb', line 1195

def hours
  @hours
end

#minutesObject

hh:mm

#



1191
1192
1193
# File 'lib/ambling/stock.rb', line 1191

def minutes
  @minutes
end

#monthsObject

YYYY

#



1207
1208
1209
# File 'lib/ambling/stock.rb', line 1207

def months
  @months
end

#secondsObject

hh:mm

#



1187
1188
1189
# File 'lib/ambling/stock.rb', line 1187

def seconds
  @seconds
end

#weeksObject

month YYYY

#



1203
1204
1205
# File 'lib/ambling/stock.rb', line 1203

def weeks
  @weeks
end

#yearsObject

Returns the value of attribute years.



1211
1212
1213
# File 'lib/ambling/stock.rb', line 1211

def years
  @years
end