Class: Web::Node
Overview
:nodoc:
Instance Attribute Summary collapse
-
#anAlias ⇒ Object
Returns the value of attribute anAlias.
-
#canonical_name ⇒ Object
readonly
Returns the value of attribute canonical_name.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#parent ⇒ Object
readonly
Returns the value of attribute parent.
-
#scope ⇒ Object
Returns the value of attribute scope.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
- #each ⇒ Object
-
#initialize(canonical_name, value, parent, name) ⇒ Node
constructor
A new instance of Node.
Constructor Details
#initialize(canonical_name, value, parent, name) ⇒ Node
Returns a new instance of Node.
15 16 17 18 19 20 |
# File 'lib/web/template.rb', line 15 def initialize canonical_name, value, parent, name @canonical_name = canonical_name @value = value @parent = parent @name = name end |
Instance Attribute Details
#anAlias ⇒ Object
Returns the value of attribute anAlias.
13 14 15 |
# File 'lib/web/template.rb', line 13 def anAlias @anAlias end |
#canonical_name ⇒ Object (readonly)
Returns the value of attribute canonical_name.
12 13 14 |
# File 'lib/web/template.rb', line 12 def canonical_name @canonical_name end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
12 13 14 |
# File 'lib/web/template.rb', line 12 def name @name end |
#parent ⇒ Object (readonly)
Returns the value of attribute parent.
12 13 14 |
# File 'lib/web/template.rb', line 12 def parent @parent end |
#scope ⇒ Object
Returns the value of attribute scope.
13 14 15 |
# File 'lib/web/template.rb', line 13 def scope @scope end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
12 13 14 |
# File 'lib/web/template.rb', line 12 def value @value end |