Class: ActiveMocker::Mock::MockAbilities::MockMethod
- Inherits:
-
Object
- Object
- ActiveMocker::Mock::MockAbilities::MockMethod
- Defined in:
- lib/active_mocker/mock/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.
89 90 91 92 |
# File 'lib/active_mocker/mock/mock_abilities.rb', line 89 def initialize(block, exe_bind) @block = block @exe_bind = exe_bind end |
Instance Attribute Details
#arguments ⇒ Object
Returns the value of attribute arguments.
87 88 89 |
# File 'lib/active_mocker/mock/mock_abilities.rb', line 87 def arguments @arguments end |
#block ⇒ Object
Returns the value of attribute block.
87 88 89 |
# File 'lib/active_mocker/mock/mock_abilities.rb', line 87 def block @block end |
#exe_bind ⇒ Object
Returns the value of attribute exe_bind.
87 88 89 |
# File 'lib/active_mocker/mock/mock_abilities.rb', line 87 def exe_bind @exe_bind end |