Class: Webr::Runtime
- Inherits:
-
Object
- Object
- Webr::Runtime
- Defined in:
- lib/webr/runtime.rb
Instance Attribute Summary collapse
-
#node ⇒ Object
readonly
Returns the value of attribute node.
-
#portal ⇒ Object
readonly
Returns the value of attribute portal.
-
#process ⇒ Object
readonly
Returns the value of attribute process.
Instance Method Summary collapse
-
#initialize(script) ⇒ Runtime
constructor
A new instance of Runtime.
- #start ⇒ Object
Constructor Details
Instance Attribute Details
#node ⇒ Object (readonly)
Returns the value of attribute node.
9 10 11 |
# File 'lib/webr/runtime.rb', line 9 def node @node end |
#portal ⇒ Object (readonly)
Returns the value of attribute portal.
9 10 11 |
# File 'lib/webr/runtime.rb', line 9 def portal @portal end |
#process ⇒ Object (readonly)
Returns the value of attribute process.
9 10 11 |
# File 'lib/webr/runtime.rb', line 9 def process @process end |
Instance Method Details
#start ⇒ Object
19 20 21 |
# File 'lib/webr/runtime.rb', line 19 def start @node.start(@process) end |