Sha256: d9c63ff9568c639a6e186d4f718840e42adf81747423dcbd3d187dfe42b25201

Contents?: true

Size: 419 Bytes

Versions: 6

Compression:

Stored size: 419 Bytes

Contents

require 'rails/generators/erb/scaffold/scaffold_generator'
require File.join(File.dirname(__FILE__), '../base')

module RogersScaffold
  module Generators
    class ErbGenerator < ::Erb::Generators::ScaffoldGenerator
      include ::RogersScaffold::Base

      source_root File.expand_path(File.join(File.dirname(__FILE__), 'templates'))

#      source_root File.expand_path('../templates', __FILE__)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rogers_scaffold-0.1.6 lib/generators/rogers_scaffold/erb/erb_generator.rb
rogers_scaffold-0.1.5 lib/generators/rogers_scaffold/erb/erb_generator.rb
rogers_scaffold-0.1.4 lib/generators/rogers_scaffold/erb/erb_generator.rb
rogers_scaffold-0.1.3 lib/generators/rogers_scaffold/erb/erb_generator.rb
rogers_scaffold-0.1.2 lib/generators/rogers_scaffold/erb/erb_generator.rb
rogers_scaffold-0.1.1 lib/generators/rogers_scaffold/erb/erb_generator.rb