Sha256: d50a18b9ca59ade3ac81a72d0317d37fc0897584d3e63bed7a882508bcc10560

Contents?: true

Size: 354 Bytes

Versions: 34

Compression:

Stored size: 354 Bytes

Contents

require 'rails/generators/base'

module BrowserCms
  module Generators
    # Base class for generators that work on copying files out of the Gem into projects.
    class Base < Rails::Generators::Base
      def self.source_root
        @_browsercms_source_root ||= File.expand_path(File.join(File.dirname(__FILE__), '../../'))
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 2 rubygems

Version Path
browsercms-3.5.0.rc2 lib/generators/browser_cms.rb
browsercms-3.5.0.rc1 lib/generators/browser_cms.rb
browsercms-3.4.2 lib/generators/browser_cms.rb
browsercms-3.3.4 lib/generators/browser_cms.rb
browsercms-3.4.2.rc1 lib/generators/browser_cms.rb
browsercms-3.4.1 lib/generators/browser_cms.rb
browsercms-3.4.0 lib/generators/browser_cms.rb
browsercms-3.4.0.rc2 lib/generators/browser_cms.rb
browsercms-3.4.0.rc1 lib/generators/browser_cms.rb
browsercms-3.3.3 lib/generators/browser_cms.rb
browsercms-3.3.2 lib/generators/browser_cms.rb
browsercms-3.3.1 lib/generators/browser_cms.rb
browsercms-3.3.0 lib/generators/browser_cms.rb
browsercms-3.3.0.beta lib/generators/browser_cms.rb