Class: SetupConfiguration::Generator::TemplateBinding

Inherits:
Object
  • Object
show all
Defined in:
lib/setup_configuration/template_binding.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#outputObject

Returns the value of attribute output.



10
11
12
# File 'lib/setup_configuration/template_binding.rb', line 10

def output
  @output
end

#suiteObject

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

#categoriesObject



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_bindingObject

Support templating of member data.



18
19
20
# File 'lib/setup_configuration/template_binding.rb', line 18

def get_binding
  binding
end