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-0.9.2 lib/generators/shoulda.rb
rails3-generators-0.9.1 lib/generators/shoulda.rb
rails3-generators-0.9.0 lib/generators/shoulda.rb
rails3-generators-0.8.2 lib/generators/shoulda.rb
jumpstart-0.1.0 jumpstart_templates/i0n_rails_3/lib/generators/shoulda.rb
rails3-generators-0.8.1 lib/generators/shoulda.rb
rails3-generators-0.8.0 lib/generators/shoulda.rb
rails3-generators-0.7.1 lib/generators/shoulda.rb
rails3-generators-0.7.0 lib/generators/shoulda.rb