call

meth.call(args, ...) â obj
Instance Public methods

Invokes the meth with the specified arguments, returning the method's return value.

1
2
3
m = 12.method("+")
m.call(3)    #=> 15
m.call(20)   #=> 32
doc_ruby_on_rails
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.