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

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,:months,:years]

Instance Attribute Summary collapse

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#daysObject

month

#



1169
1170
1171
# File 'lib/ambling/stock.rb', line 1169

def days
  @days
end

#hoursObject

month DD

#



1165
1166
1167
# File 'lib/ambling/stock.rb', line 1165

def hours
  @hours
end

#minutesObject

hh:mm

#



1161
1162
1163
# File 'lib/ambling/stock.rb', line 1161

def minutes
  @minutes
end

#monthsObject

YYYY

#



1173
1174
1175
# File 'lib/ambling/stock.rb', line 1173

def months
  @months
end

#secondsObject

hh:mm

#



1157
1158
1159
# File 'lib/ambling/stock.rb', line 1157

def seconds
  @seconds
end

#yearsObject

Returns the value of attribute years.



1177
1178
1179
# File 'lib/ambling/stock.rb', line 1177

def years
  @years
end