Class: Refinery::EngineGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Includes:
ExtensionGeneration
Defined in:
core/lib/generators/refinery/engine/engine_generator.rb

Instance Method Summary (collapse)

Methods included from ExtensionGeneration

included

Instance Method Details

- (Object) generate



16
17
18
19
20
21
22
23
24
25
26
# File 'core/lib/generators/refinery/engine/engine_generator.rb', line 16

def generate
  sanity_check!

  evaluate_templates!

  merge_locales!

  append_extension_to_gemfile!

  finalize_extension!
end

- (Boolean) skip_frontend?

Returns:

  • (Boolean)


12
13
14
# File 'core/lib/generators/refinery/engine/engine_generator.rb', line 12

def skip_frontend?
  options[:skip_frontend]
end