Class: TurmaliMethod
- Inherits:
-
Object
- Object
- TurmaliMethod
- Defined in:
- lib/turmali/runtime/method.rb
Instance Method Summary collapse
- #call(receiver, arguments) ⇒ Object
-
#initialize(params, body) ⇒ TurmaliMethod
constructor
A new instance of TurmaliMethod.
Constructor Details
#initialize(params, body) ⇒ TurmaliMethod
Returns a new instance of TurmaliMethod.
2 3 4 5 |
# File 'lib/turmali/runtime/method.rb', line 2 def initialize(params, body) @params = params @body = body end |