Class: Ripple::Generators::NamedBase

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/rails/generators/ripple_generator.rb

Direct Known Subclasses

ModelGenerator, ObserverGenerator

Class Method Summary collapse

Class Method Details

.source_rootObject



25
26
27
28
# File 'lib/rails/generators/ripple_generator.rb', line 25

def self.source_root
  @_ripple_source_root ||=
  File.expand_path("../#{base_name}/#{generator_name}/templates", __FILE__)
end