Class: ActiveMocker::MockCreator::ModulesConstants::Inspectable

Inherits:
Object
  • Object
show all
Defined in:
lib/active_mocker/mock_creator/modules_constants.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#inspectObject (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