Class: ActiveMocker::MockCreator::ModulesConstants::Inspectable
- Inherits:
-
Object
- Object
- ActiveMocker::MockCreator::ModulesConstants::Inspectable
- Defined in:
- lib/active_mocker/mock_creator/modules_constants.rb
Instance Attribute Summary collapse
-
#inspect ⇒ Object
readonly
Returns the value of attribute inspect.
Instance Method Summary collapse
-
#initialize(inspect) ⇒ Inspectable
constructor
A new instance of Inspectable.
Constructor Details
#initialize(inspect) ⇒ Inspectable
Returns a new instance of Inspectable.
8 9 10 |
# File 'lib/active_mocker/mock_creator/modules_constants.rb', line 8 def initialize(inspect) @inspect = inspect end |
Instance Attribute Details
#inspect ⇒ Object (readonly)
Returns the value of attribute inspect.
6 7 8 |
# File 'lib/active_mocker/mock_creator/modules_constants.rb', line 6 def inspect @inspect end |