Class: BrowserCms::Generators::Base

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

Overview

Base class for generators that work on copying files out of the Gem into projects.

Class Method Summary collapse

Class Method Details

.source_rootObject


7
8
9
# File 'lib/generators/browser_cms.rb', line 7

def self.source_root
  @_browsercms_source_root ||= File.expand_path(File.join(File.dirname(__FILE__), '../../'))
end