Class: Alienor::CoreSource

Inherits:
CoreObject show all
Defined in:
lib/alienor/source.rb

Instance Attribute Summary collapse

Attributes inherited from CoreObject

#hname, #info, #name, #nb_indent, #options, #parent, #source

Instance Method Summary collapse

Methods inherited from CoreObject

add_dictionnary, define_branch, define_named_parent, get_dic, #init_dics, #template, #template_to_file

Methods included from Indentation

#add_line, #indent, #init_indent, #unindent

Constructor Details

#initialize(root, paradigm_name) ⇒ CoreSource

Returns a new instance of CoreSource.



14
15
16
17
18
# File 'lib/alienor/source.rb', line 14

def initialize (root, paradigm_name)
  super(:source, "", self, self)
  @root = root
  @paradigm_name = paradigm_name
end

Instance Attribute Details

#paradigm_nameObject

~ @root : generation path ~ @paradigm_name : paradigm name



12
13
14
# File 'lib/alienor/source.rb', line 12

def paradigm_name
  @paradigm_name
end

#rootObject

~ @root : generation path ~ @paradigm_name : paradigm name



12
13
14
# File 'lib/alienor/source.rb', line 12

def root
  @root
end

Instance Method Details

#describeObject



20
21
# File 'lib/alienor/source.rb', line 20

def describe
end

#generateObject



23
24
# File 'lib/alienor/source.rb', line 23

def generate
end