Class: Arcane::Generators::RefineryGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/arcane/refinery/refinery_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_policyObject



7
8
9
# File 'lib/generators/arcane/refinery/refinery_generator.rb', line 7

def create_policy
  template 'refinery.rb', File.join('app/refineries', class_path, "#{file_name}_refinery.rb")
end