inspect

inspect()
Instance Public methods

Returns debugging information about the value as a string of comma-separated values in angle brackets with a leading #:

::new(â1234.5678â).inspect -> â#<BigDecimal:b7ea1130,'0.12345678E4',8(12)>â

The first part is the address, the second is the value as a string, and the final part ss(mm) is the current number of significant digits and the maximum number of significant digits, respectively.

doc_ruby_on_rails
2015-03-31 07:52:47
Comments
Leave a Comment

Please login to continue.