Class: Radius::ParseContainerTag
- Defined in:
- lib/radius/parsetag.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#contents ⇒ Object
Returns the value of attribute contents.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name = "", attributes = {}, contents = [], &b) ⇒ ParseContainerTag
constructor
A new instance of ParseContainerTag.
Methods inherited from ParseTag
Constructor Details
#initialize(name = "", attributes = {}, contents = [], &b) ⇒ ParseContainerTag
Returns a new instance of ParseContainerTag.
19 20 21 22 |
# File 'lib/radius/parsetag.rb', line 19 def initialize(name = "", attributes = {}, contents = [], &b) @name, @attributes, @contents = name, attributes, contents super(&b) end |
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes.
17 18 19 |
# File 'lib/radius/parsetag.rb', line 17 def attributes @attributes end |
#contents ⇒ Object
Returns the value of attribute contents.
17 18 19 |
# File 'lib/radius/parsetag.rb', line 17 def contents @contents end |
#name ⇒ Object
Returns the value of attribute name.
17 18 19 |
# File 'lib/radius/parsetag.rb', line 17 def name @name end |