Class: Amrita2::Core::BaseNode
Overview
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
#initialize(parent) ⇒ BaseNode
Returns a new instance of BaseNode.
622
623
624
|
# File 'lib/amrita2/template.rb', line 622
def initialize(parent)
@parent = parent
end
|
Instance Attribute Details
Returns the value of attribute parent.
620
621
622
|
# File 'lib/amrita2/template.rb', line 620
def parent
@parent
end
|
Instance Method Details
#dynamic? ⇒ Boolean
640
641
642
|
# File 'lib/amrita2/template.rb', line 640
def dynamic?
false
end
|
#has_ruby? ⇒ Boolean
644
645
646
|
# File 'lib/amrita2/template.rb', line 644
def has_ruby?
false
end
|
#module_src(cg) ⇒ Object
629
630
|
# File 'lib/amrita2/template.rb', line 629
def module_src(cg)
end
|
#parent_de ⇒ Object
636
637
638
|
# File 'lib/amrita2/template.rb', line 636
def parent_de
parent
end
|
#render_me(cg) ⇒ Object
626
627
|
# File 'lib/amrita2/template.rb', line 626
def render_me(cg)
end
|
632
633
634
|
# File 'lib/amrita2/template.rb', line 632
def root
parent.root
end
|