Class: BigDecimal

Inherits:
Object show all
Defined in:
vendor/bundler/ruby/2.5.0/bundler/gems/sxp.rb-ff0ae90d6303/lib/sxp/writer.rb

Overview

Extensions for Ruby's BigDecimal class.

Instance Method Summary collapse

Instance Method Details

#to_sxpString

Returns the SXP representation of this object.

Returns:



96
97
98
# File 'vendor/bundler/ruby/2.5.0/bundler/gems/sxp.rb-ff0ae90d6303/lib/sxp/writer.rb', line 96

def to_sxp
  to_f.to_s
end