Class: Amrita2::Core::BaseNode
Overview
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
#initialize(parent) ⇒ BaseNode
Returns a new instance of BaseNode.
737
738
739
|
# File 'lib/amrita2/template.rb', line 737
def initialize(parent)
@parent = parent
end
|
Instance Attribute Details
Returns the value of attribute parent.
735
736
737
|
# File 'lib/amrita2/template.rb', line 735
def parent
@parent
end
|
Instance Method Details
#dynamic? ⇒ Boolean
755
756
757
|
# File 'lib/amrita2/template.rb', line 755
def dynamic?
false
end
|
#has_ruby? ⇒ Boolean
759
760
761
|
# File 'lib/amrita2/template.rb', line 759
def has_ruby?
false
end
|
#module_src(cg) ⇒ Object
744
745
|
# File 'lib/amrita2/template.rb', line 744
def module_src(cg)
end
|
#parent_de ⇒ Object
751
752
753
|
# File 'lib/amrita2/template.rb', line 751
def parent_de
parent
end
|
#render_me(cg) ⇒ Object
741
742
|
# File 'lib/amrita2/template.rb', line 741
def render_me(cg)
end
|
747
748
749
|
# File 'lib/amrita2/template.rb', line 747
def root
parent.root
end
|