Method: Retrospec::Puppet::Generators::HostClassGenerator#initialize

Defined in:
lib/retrospec/plugins/v1/plugin/generators/hostclass_generator.rb

#initialize(module_path, spec_object = {}) ⇒ HostClassGenerator

retrospec will initilalize this class so its up to you to set any additional variables you need to get the job done.



12
13
14
15
16
# File 'lib/retrospec/plugins/v1/plugin/generators/hostclass_generator.rb', line 12

def initialize(module_path, spec_object = {})
  super
  @singular_name = 'class'
  @plural_name = 'classes'
end