Class: RVM::Functions::Send
- Defined in:
- lib/rvm/functions/objects/send.rb
Class Method Summary collapse
Methods inherited from Function
call, data_type, execargs, method_missing
Methods included from Plugin
#helper, #included, #plugin_host, #plugin_id, #register_for
Class Method Details
.execute(params, env) ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/rvm/functions/objects/send.rb', line 5 def execute params, env obj = params.shift method = params.shift if obj and method obj.obj_send(method, params, env) else end end |
.signature ⇒ Object
15 16 17 |
# File 'lib/rvm/functions/objects/send.rb', line 15 def signature [:any, :string, :any] end |