Class: RSpec::Support::ObjectFormatter::BaseInspector Private
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Subclasses:
|
|
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Struct
|
|
Instance Chain:
self,
Struct
|
|
Inherits: |
Struct
|
Defined in: | rspec-support/lib/rspec/support/object_formatter.rb |
Class Method Summary
- .can_inspect?(_object) ⇒ Boolean Internal use only
Instance Attribute Summary
- #formatter rw Internal use only
- #object rw Internal use only
Instance Method Summary
- #inspect Internal use only
- #pretty_print(pp) Internal use only
Class Method Details
.can_inspect?(_object) ⇒ Boolean
# File 'rspec-support/lib/rspec/support/object_formatter.rb', line 128
def self.can_inspect?(_object) raise NotImplementedError end
Instance Attribute Details
#formatter (rw)
[ GitHub ]#object (rw)
[ GitHub ]Instance Method Details
#inspect
# File 'rspec-support/lib/rspec/support/object_formatter.rb', line 132
def inspect raise NotImplementedError end
#pretty_print(pp)
[ GitHub ]# File 'rspec-support/lib/rspec/support/object_formatter.rb', line 136
def pretty_print(pp) pp.text(inspect) end