Class: Radius::ParseContainerTag

Inherits:
ParseTag
  • Object
show all
Defined in:
lib/radius/parsetag.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from ParseTag

#on_parse, #to_s

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

#attributesObject

Returns the value of attribute attributes.



17
18
19
# File 'lib/radius/parsetag.rb', line 17

def attributes
  @attributes
end

#contentsObject

Returns the value of attribute contents.



17
18
19
# File 'lib/radius/parsetag.rb', line 17

def contents
  @contents
end

#nameObject

Returns the value of attribute name.



17
18
19
# File 'lib/radius/parsetag.rb', line 17

def name
  @name
end