Class: Ambling::Stock::Settings::Charts::Chart::Values::YLeft::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 #


692
693
694
# File 'lib/ambling/stock.rb', line 692

def data
  @data
end

#percentsObject

Returns the value of attribute percents.



696
697
698
# File 'lib/ambling/stock.rb', line 696

def percents
  @percents
end