Class: RSpec::Support::ObjectFormatter::InspectableObjectInspector Private
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
BaseInspector ,
Struct
|
|
Instance Chain:
self,
BaseInspector ,
Struct
|
|
Inherits: |
RSpec::Support::ObjectFormatter::BaseInspector
|
Defined in: | rspec-support/lib/rspec/support/object_formatter.rb |
Class Method Summary
Instance Attribute Summary
BaseInspector
- Inherited
Instance Method Summary
Class Method Details
.can_inspect?(object) ⇒ Boolean
# File 'rspec-support/lib/rspec/support/object_formatter.rb', line 235
def self.can_inspect?(object) object.inspect true rescue NoMethodError false end
Instance Method Details
#inspect
[ GitHub ]# File 'rspec-support/lib/rspec/support/object_formatter.rb', line 242
def inspect object.inspect end