Sha256: f892420d4564a618677bc89e3ee23a6512c02b3702f09974084f6772738f6b5b

Contents?: true

Size: 323 Bytes

Versions: 51

Compression:

Stored size: 323 Bytes

Contents

require 'rails/generators/named_base'

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

Version data entries

51 entries across 51 versions & 4 rubygems

Version Path
rails3-generators-0.5.3 lib/generators/factory_girl.rb
rails3-generators-0.5.2 lib/generators/factory_girl.rb
rails3-generators-0.5.1 lib/generators/factory_girl.rb
rails3-generators-0.5.0 lib/generators/factory_girl.rb
rails3-generators-0.4.0 lib/generators/factory_girl.rb
rails3-generators-0.3.3 lib/generators/factory_girl.rb
rails3-generators-0.3.2 lib/generators/factory_girl.rb
rails3-generators-0.3.1 lib/generators/factory_girl.rb
rails3-generators-0.3.0 lib/generators/factory_girl.rb
rails3-generators-0.2.0 lib/generators/factory_girl.rb
rails3-generators-0.1.0 lib/generators/factory_girl.rb