Class: Motley::Tag::Nested

Inherits:
Motley::Tag show all
Defined in:
lib/motley.rb

Overview

Motley::Tag::Nested

Direct Known Subclasses

HTML::A, MML::A

Instance Attribute Summary collapse

Attributes inherited from Motley::Tag

#children

Attributes inherited from Motley::TagBase

#atts

Instance Method Summary collapse

Methods inherited from Motley::Tag

set_atts

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

#parentObject

Returns the value of attribute parent.



293
294
295
# File 'lib/motley.rb', line 293

def parent
  @parent
end