Class: Ambling::Stock::Settings::Charts::Chart::Graphs::Graph::Legend::DigitsAfterDecimal

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

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#dataObject

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

#percentsObject

Returns the value of attribute percents.



1119
1120
1121
# File 'lib/ambling/stock.rb', line 1119

def percents
  @percents
end