Class: RubyBreaker::Runtime::MethodInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#argsObject

Returns the value of attribute args.



15
16
17
# File 'lib/rubybreaker/runtime/pluggable.rb', line 15

def args
  @args
end

#blkObject

Returns the value of attribute blk.



16
17
18
# File 'lib/rubybreaker/runtime/pluggable.rb', line 16

def blk
  @blk
end

#meth_nameObject

Returns the value of attribute meth_name.



14
15
16
# File 'lib/rubybreaker/runtime/pluggable.rb', line 14

def meth_name
  @meth_name
end

#retObject

Returns the value of attribute ret.



17
18
19
# File 'lib/rubybreaker/runtime/pluggable.rb', line 17

def ret
  @ret
end