Class: XamplGenerator::StandardGeneratorTemplates
- Inherits:
-
Object
- Object
- XamplGenerator::StandardGeneratorTemplates
- Includes:
- TemplateEngine
- Defined in:
- lib/xamplr-gen/xampl-generator.rb
Instance Attribute Summary collapse
-
#element ⇒ Object
Returns the value of attribute element.
-
#lookup_element ⇒ Object
Returns the value of attribute lookup_element.
-
#options ⇒ Object
Returns the value of attribute options.
-
#package_name ⇒ Object
Returns the value of attribute package_name.
-
#place ⇒ Object
Returns the value of attribute place.
-
#required_packages ⇒ Object
Returns the value of attribute required_packages.
Attributes included from TemplateEngine
#file_name_to_method, #files, #method_to_file_name
Instance Method Summary collapse
-
#initialize ⇒ StandardGeneratorTemplates
constructor
A new instance of StandardGeneratorTemplates.
Methods included from TemplateEngine
#build_script, #compile_scripts, #macro
Constructor Details
#initialize ⇒ StandardGeneratorTemplates
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
#element ⇒ Object
Returns the value of attribute element.
11 12 13 |
# File 'lib/xamplr-gen/xampl-generator.rb', line 11 def element @element end |
#lookup_element ⇒ Object
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 |
#options ⇒ Object
Returns the value of attribute options.
11 12 13 |
# File 'lib/xamplr-gen/xampl-generator.rb', line 11 def @options end |
#package_name ⇒ Object
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 |
#place ⇒ Object
Returns the value of attribute place.
11 12 13 |
# File 'lib/xamplr-gen/xampl-generator.rb', line 11 def place @place end |
#required_packages ⇒ Object
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 |