Class: Ixtlan::Generators::Base

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/ixtlan/base.rb

Direct Known Subclasses

AuditBase, ConfigurationBase, ErrorDumpsBase

Instance Method Summary collapse

Instance Method Details

#create_initializer_fileObject



21
22
23
24
25
# File 'lib/generators/ixtlan/base.rb', line 21

def create_initializer_file
  if options[:dynamic]
    template 'dynamic.rb', File.join('config', "initializers", "ixtlan.rb")
  end
end