Class: XamplGenerator::StandardGeneratorTemplates

Inherits:
Object
  • Object
show all
Includes:
TemplateEngine
Defined in:
lib/xamplr-gen/xampl-generator.rb

Instance Attribute Summary collapse

Attributes included from TemplateEngine

#file_name_to_method, #files, #method_to_file_name

Instance Method Summary collapse

Methods included from TemplateEngine

#build_script, #compile_scripts, #macro

Constructor Details

#initializeStandardGeneratorTemplates

Returns a new instance of StandardGeneratorTemplates.



13
14
15
16
17
18
19
20
21
# File 'lib/xamplr-gen/xampl-generator.rb', line 13

def initialize
  super
  @element = nil
  @package_name = nil
  @place = nil
  @lookup_element = {}
  @options = nil
  @required_packages = {}
end

Instance Attribute Details

#elementObject

Returns the value of attribute element.



11
12
13
# File 'lib/xamplr-gen/xampl-generator.rb', line 11

def element
  @element
end

#lookup_elementObject

Returns the value of attribute lookup_element.



11
12
13
# File 'lib/xamplr-gen/xampl-generator.rb', line 11

def lookup_element
  @lookup_element
end

#optionsObject

Returns the value of attribute options.



11
12
13
# File 'lib/xamplr-gen/xampl-generator.rb', line 11

def options
  @options
end

#package_nameObject

Returns the value of attribute package_name.



11
12
13
# File 'lib/xamplr-gen/xampl-generator.rb', line 11

def package_name
  @package_name
end

#placeObject

Returns the value of attribute place.



11
12
13
# File 'lib/xamplr-gen/xampl-generator.rb', line 11

def place
  @place
end

#required_packagesObject

Returns the value of attribute required_packages.



11
12
13
# File 'lib/xamplr-gen/xampl-generator.rb', line 11

def required_packages
  @required_packages
end