Sha256: 22c1739444757b87db79715449f12da7ae4d36576aff20b724371768e0ccd93b

Contents?: true

Size: 310 Bytes

Versions: 29

Compression:

Stored size: 310 Bytes

Contents

require 'rails/generators/named_base'

module Shoulda
  module Generators
    class Base < Rails::Generators::NamedBase #:nodoc:
      def self.source_root
        @_shoulda_source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'shoulda', generator_name, 'templates'))
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
rails3-generators-1.0.0 lib/generators/shoulda.rb
rails3-generators-0.17.6 lib/generators/shoulda.rb
rails3-generators-0.17.5 lib/generators/shoulda.rb
rails3-generators-0.17.4 lib/generators/shoulda.rb
rails3-generators-0.17.3 lib/generators/shoulda.rb
rails3-generators-0.17.2 lib/generators/shoulda.rb
rails3-generators-0.17.1 lib/generators/shoulda.rb
rails3-generators-0.17.0 lib/generators/shoulda.rb
rails3-generators-0.16.1 lib/generators/shoulda.rb
rails3-generators-0.16.0 lib/generators/shoulda.rb
rails3-generators-0.15.0 lib/generators/shoulda.rb
rails3-generators-0.14.0 lib/generators/shoulda.rb
rails3-generators-0.13.0 lib/generators/shoulda.rb
rails3-generators-0.12.1 lib/generators/shoulda.rb
rails3-generators-0.12.0 lib/generators/shoulda.rb
rails3-generators-0.11.0 lib/generators/shoulda.rb
rails3-generators-0.10.3 lib/generators/shoulda.rb
rails3-generators-0.10.2 lib/generators/shoulda.rb
rails3-generators-0.10.1 lib/generators/shoulda.rb
rails3-generators-0.10.0 lib/generators/shoulda.rb