Class: EasyType::Generators::EasyGenerator

Inherits:
Base
  • Object
show all
Defined in:
lib/easy_type/generators/easy_generator.rb

Direct Known Subclasses

EasyAttributeGenerator, EasyTypeGenerator

Constant Summary

Constants included from Helpers

Helpers::HEADER_LINE_REGEX

Instance Method Summary collapse

Methods inherited from Base

#create_provider_directory, #create_type_directory, #initialize, load

Methods included from Helpers

#camelize, #convert_csv_data_to_hash, included

Methods included from PathHelpers

#attribute_path, #create_directory, #create_source, included, #modulepath, #name_attribute_path, #provider_directory, #provider_path, #puppet_lib, #puppet_lib?, #save_file, #shared_attribute_path, #template_path, #type_attribute_directory, #type_directory, #type_path, #type_shared_directory, #write_file

Constructor Details

This class inherits a constructor from EasyType::Generators::Base

Instance Method Details

#runObject



5
6
7
8
9
# File 'lib/easy_type/generators/easy_generator.rb', line 5

def run
  super
  create_type_attribute_directory
  create_type_shared_directory
end