Class: ActiveMocker::MockAbilities::MockMethod
- Inherits:
-
Object
- Object
- ActiveMocker::MockAbilities::MockMethod
- Defined in:
- lib/active_mocker/deprecated_components/mock_abilities.rb
Instance Attribute Summary collapse
-
#arguments ⇒ Object
Returns the value of attribute arguments.
-
#block ⇒ Object
Returns the value of attribute block.
-
#exe_bind ⇒ Object
Returns the value of attribute exe_bind.
Instance Method Summary collapse
-
#initialize(block, exe_bind) ⇒ MockMethod
constructor
A new instance of MockMethod.
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
#arguments ⇒ Object
Returns the value of attribute arguments.
98 99 100 |
# File 'lib/active_mocker/deprecated_components/mock_abilities.rb', line 98 def arguments @arguments end |
#block ⇒ Object
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_bind ⇒ Object
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 |