Class: Laplus::Inspector
- Inherits:
-
Object
- Object
- Laplus::Inspector
- Defined in:
- lib/laplus/inspector.rb
Instance Attribute Summary collapse
-
#object ⇒ Object
readonly
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(object) ⇒ Inspector
constructor
A new instance of Inspector.
- #inspect ⇒ Object
Constructor Details
#initialize(object) ⇒ Inspector
Returns a new instance of Inspector.
7 8 9 |
# File 'lib/laplus/inspector.rb', line 7 def initialize(object) @object = object.freeze end |
Instance Attribute Details
#object ⇒ Object (readonly)
Returns the value of attribute object.
5 6 7 |
# File 'lib/laplus/inspector.rb', line 5 def object @object end |
Instance Method Details
#inspect ⇒ Object
11 12 13 |
# File 'lib/laplus/inspector.rb', line 11 def inspect inspect_strategy.inspect end |