Class: Quickjs::Runnable
- Inherits:
-
Object
- Object
- Quickjs::Runnable
- Defined in:
- lib/quickjs/runnable.rb
Instance Method Summary collapse
-
#initialize(bytecode) ⇒ Runnable
constructor
A new instance of Runnable.
- #run(on: nil) ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(bytecode) ⇒ Runnable
Returns a new instance of Runnable.
5 6 7 |
# File 'lib/quickjs/runnable.rb', line 5 def initialize(bytecode) @bytecode = bytecode end |