Class: Webr::Portal
- Inherits:
-
Object
- Object
- Webr::Portal
- Defined in:
- lib/webr/portal.rb
Instance Attribute Summary collapse
-
#env ⇒ Object
Returns the value of attribute env.
-
#html ⇒ Object
Returns the value of attribute html.
-
#options ⇒ Object
Returns the value of attribute options.
-
#require_paths ⇒ Object
Returns the value of attribute require_paths.
-
#root ⇒ Object
Returns the value of attribute root.
-
#scripts ⇒ Object
Returns the value of attribute scripts.
Instance Method Summary collapse
-
#initialize(node) ⇒ Portal
constructor
A new instance of Portal.
Constructor Details
#initialize(node) ⇒ Portal
Returns a new instance of Portal.
10 11 12 13 14 15 16 |
# File 'lib/webr/portal.rb', line 10 def initialize(node) @node = node @env = node.engine @scripts = [] @require_paths = [] @options = {} end |
Instance Attribute Details
#env ⇒ Object
Returns the value of attribute env.
3 4 5 |
# File 'lib/webr/portal.rb', line 3 def env @env end |
#html ⇒ Object
Returns the value of attribute html.
3 4 5 |
# File 'lib/webr/portal.rb', line 3 def html @html end |
#options ⇒ Object
Returns the value of attribute options.
3 4 5 |
# File 'lib/webr/portal.rb', line 3 def @options end |
#require_paths ⇒ Object
Returns the value of attribute require_paths.
3 4 5 |
# File 'lib/webr/portal.rb', line 3 def require_paths @require_paths end |
#root ⇒ Object
Returns the value of attribute root.
3 4 5 |
# File 'lib/webr/portal.rb', line 3 def root @root end |
#scripts ⇒ Object
Returns the value of attribute scripts.
3 4 5 |
# File 'lib/webr/portal.rb', line 3 def scripts @scripts end |