class RSpec::Support::ObjectFormatter::DelegatorInspector
Public Class Methods
can_inspect?(object)
click to toggle source
# File lib/rspec/support/object_formatter.rb, line 215 def self.can_inspect?(object) defined?(Delegator) && Delegator === object end
Public Instance Methods
inspect()
click to toggle source
# File lib/rspec/support/object_formatter.rb, line 219 def inspect "#<#{object.class}(#{formatter.format(object.__getobj__)})>" end