class RSpec::Support::ObjectFormatter::BigDecimalInspector
Public Class Methods
can_inspect?(object)
click to toggle source
# File lib/rspec/support/object_formatter.rb, line 168 def self.can_inspect?(object) defined?(BigDecimal) && BigDecimal === object end
Public Instance Methods
inspect()
click to toggle source
# File lib/rspec/support/object_formatter.rb, line 172 def inspect "#{object.to_s('F')} (#{object.inspect})" end