Class: SetupConfiguration::Generator::TemplateBinding
- Inherits:
-
Object
- Object
- SetupConfiguration::Generator::TemplateBinding
- Defined in:
- lib/setup_configuration/template_binding.rb
Direct Known Subclasses
MPSTemplateBinding, ParameterTemplateBinding, SetupCodeBinding
Instance Attribute Summary collapse
-
#output ⇒ Object
Returns the value of attribute output.
-
#suite ⇒ Object
Returns the value of attribute suite.
Instance Method Summary collapse
- #categories ⇒ Object
- #find_param_by_number(number) ⇒ Object
-
#get_binding ⇒ Object
Support templating of member data.
Instance Attribute Details
#output ⇒ Object
Returns the value of attribute output.
10 11 12 |
# File 'lib/setup_configuration/template_binding.rb', line 10 def output @output end |
#suite ⇒ Object
Returns the value of attribute suite.
9 10 11 |
# File 'lib/setup_configuration/template_binding.rb', line 9 def suite @suite end |
Instance Method Details
#categories ⇒ Object
12 13 14 15 |
# File 'lib/setup_configuration/template_binding.rb', line 12 def categories #TODO maybe cache these values for better performance...? suite.categories.keys().sort() end |
#find_param_by_number(number) ⇒ Object
22 23 24 |
# File 'lib/setup_configuration/template_binding.rb', line 22 def find_param_by_number(number) self.suite.find_param_by_number(number) end |
#get_binding ⇒ Object
Support templating of member data.
18 19 20 |
# File 'lib/setup_configuration/template_binding.rb', line 18 def get_binding binding end |