Class: Aruba::Matchers::ObjectFormatter::InspectableItem

Inherits:
Struct
  • Object
show all
Defined in:
lib/aruba/matchers/base/object_formatter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#inspectionObject

Returns the value of attribute inspection

Returns:

  • (Object)

    the current value of inspection



88
89
90
# File 'lib/aruba/matchers/base/object_formatter.rb', line 88

def inspection
  @inspection
end

Instance Method Details

#inspectObject



89
90
91
# File 'lib/aruba/matchers/base/object_formatter.rb', line 89

def inspect
  inspection
end

#pretty_print(pp) ⇒ Object



93
94
95
# File 'lib/aruba/matchers/base/object_formatter.rb', line 93

def pretty_print(pp)
  pp.text inspection
end