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


83
84
85
# File 'lib/aruba/matchers/base/object_formatter.rb', line 83

def inspection
  @inspection
end

Instance Method Details

#inspectObject


84
85
86
# File 'lib/aruba/matchers/base/object_formatter.rb', line 84

def inspect
  inspection
end

#pretty_print(pp) ⇒ Object


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

def pretty_print(pp)
  pp.text inspection
end