Class: RSpec::Support::ObjectFormatter::InspectableItem
- Inherits:
-
Struct
- Object
- Struct
- RSpec::Support::ObjectFormatter::InspectableItem
- Defined in:
- lib/rspec/support/object_formatter.rb
Instance Attribute Summary collapse
-
#inspection ⇒ Object
Returns the value of attribute inspection.
Instance Method Summary collapse
Instance Attribute Details
#inspection ⇒ Object
Returns the value of attribute inspection
82 83 84 |
# File 'lib/rspec/support/object_formatter.rb', line 82 def inspection @inspection end |
Instance Method Details
#inspect ⇒ Object
83 84 85 |
# File 'lib/rspec/support/object_formatter.rb', line 83 def inspect inspection end |
#pretty_print(pp) ⇒ Object
87 88 89 |
# File 'lib/rspec/support/object_formatter.rb', line 87 def pretty_print(pp) pp.text inspection end |