Class: ActiveMocker::MockAbilities::MockMethod

Inherits:
Object
  • Object
show all
Defined in:
lib/active_mocker/deprecated_components/mock_abilities.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(block, exe_bind) ⇒ MockMethod

Returns a new instance of MockMethod.



100
101
102
103
# File 'lib/active_mocker/deprecated_components/mock_abilities.rb', line 100

def initialize(block, exe_bind)
  @block    = block
  @exe_bind = exe_bind
end

Instance Attribute Details

#argumentsObject

Returns the value of attribute arguments.



98
99
100
# File 'lib/active_mocker/deprecated_components/mock_abilities.rb', line 98

def arguments
  @arguments
end

#blockObject

Returns the value of attribute block.



98
99
100
# File 'lib/active_mocker/deprecated_components/mock_abilities.rb', line 98

def block
  @block
end

#exe_bindObject

Returns the value of attribute exe_bind.



98
99
100
# File 'lib/active_mocker/deprecated_components/mock_abilities.rb', line 98

def exe_bind
  @exe_bind
end