Class: Guacamole::Generators::Base

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

Class Method Summary collapse

Class Method Details

.source_rootObject



9
10
11
12
# File 'lib/rails/generators/guacamole_generator.rb', line 9

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