Class: RubyBreaker::Runtime::MethodInfo
- Inherits:
-
Object
- Object
- RubyBreaker::Runtime::MethodInfo
- Defined in:
- lib/rubybreaker/runtime/pluggable.rb
Overview
This class has information (and data) of the method being called. Used by Pluggable and Monitor
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#blk ⇒ Object
Returns the value of attribute blk.
-
#meth_name ⇒ Object
Returns the value of attribute meth_name.
-
#ret ⇒ Object
Returns the value of attribute ret.
Instance Method Summary collapse
-
#initialize(meth_name, args, blk, ret) ⇒ MethodInfo
constructor
A new instance of MethodInfo.
Constructor Details
#initialize(meth_name, args, blk, ret) ⇒ MethodInfo
Returns a new instance of MethodInfo.
19 20 21 22 23 24 |
# File 'lib/rubybreaker/runtime/pluggable.rb', line 19 def initialize(meth_name, args, blk, ret) @meth_name = meth_name @args = args @blk = blk @ret = ret end |
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args.
15 16 17 |
# File 'lib/rubybreaker/runtime/pluggable.rb', line 15 def args @args end |
#blk ⇒ Object
Returns the value of attribute blk.
16 17 18 |
# File 'lib/rubybreaker/runtime/pluggable.rb', line 16 def blk @blk end |
#meth_name ⇒ Object
Returns the value of attribute meth_name.
14 15 16 |
# File 'lib/rubybreaker/runtime/pluggable.rb', line 14 def meth_name @meth_name end |
#ret ⇒ Object
Returns the value of attribute ret.
17 18 19 |
# File 'lib/rubybreaker/runtime/pluggable.rb', line 17 def ret @ret end |