Class: Quickjs::Function
- Inherits:
-
Object
- Object
- Quickjs::Function
- Defined in:
- lib/quickjs/function.rb
Instance Method Summary collapse
- #call(*args, on: nil) ⇒ Object
-
#initialize(source) ⇒ Function
constructor
A new instance of Function.
- #source ⇒ Object
Constructor Details
#initialize(source) ⇒ Function
Returns a new instance of Function.
7 8 9 |
# File 'lib/quickjs/function.rb', line 7 def initialize(source) @source = source end |