Class: Ambling::Stock::Settings::Charts::Chart::Graphs::Graph::Legend::DigitsAfterDecimal
- Inherits:
-
Object
- Object
- Ambling::Stock::Settings::Charts::Chart::Graphs::Graph::Legend::DigitsAfterDecimal
- Includes:
- Base
- Defined in:
- lib/ambling/stock.rb
Overview
- number_format.digits_after_decimal.data
-
(Number) number of digits after decimal #
Constant Summary collapse
- VALUES =
[:data,:percents]
Instance Attribute Summary collapse
-
#data ⇒ Object
- number_format.digits_after_decimal.percents
-
(Number) the number of digits after decimal when the values are recalculated to percents #.
-
#percents ⇒ Object
Returns the value of attribute percents.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#data ⇒ Object
- number_format.digits_after_decimal.percents
-
(Number) the number of digits after
decimal when the values are recalculated to percents #
1115 1116 1117 |
# File 'lib/ambling/stock.rb', line 1115 def data @data end |
#percents ⇒ Object
Returns the value of attribute percents.
1119 1120 1121 |
# File 'lib/ambling/stock.rb', line 1119 def percents @percents end |