Class: Motley::Tag::Nested
- Inherits:
-
Motley::Tag
- Object
- Motley::TagBase
- Motley::Tag
- Motley::Tag::Nested
- Defined in:
- lib/motley.rb
Overview
Motley::Tag::Nested
Instance Attribute Summary collapse
-
#parent ⇒ Object
Returns the value of attribute parent.
Attributes inherited from Motley::Tag
Attributes inherited from Motley::TagBase
Instance Method Summary collapse
-
#initialize(parent = nil) ⇒ Nested
constructor
————————————————————————— initialize.
Methods inherited from Motley::Tag
Constructor Details
#initialize(parent = nil) ⇒ Nested
initialize
298 299 300 301 |
# File 'lib/motley.rb', line 298 def initialize(parent=nil) super() @parent = parent end |
Instance Attribute Details
#parent ⇒ Object
Returns the value of attribute parent.
293 294 295 |
# File 'lib/motley.rb', line 293 def parent @parent end |