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
factory_girl_rails-1.7.0 lib/generators/factory_girl.rb
factory_girl_rails-1.6.0 lib/generators/factory_girl.rb
factory_girl_rails-1.5.0 lib/generators/factory_girl.rb
factory_girl_rails-1.4.0 lib/generators/factory_girl.rb
factory_girl_rails-1.3.0 lib/generators/factory_girl.rb
factory_girl_rails-1.2.0 lib/generators/factory_girl.rb
factory_girl_rails-1.1.0 lib/generators/factory_girl.rb
rails_templater-0.2.1 lib/template_framework/generators/factory_girl.rb
rails_templater-0.2.0 lib/template_framework/generators/factory_girl.rb
rails3-generators-0.17.4 lib/generators/factory_girl.rb
rails_templater-0.1.2 lib/template_framework/generators/factory_girl.rb
rails_templater-0.1.1 lib/template_framework/generators/factory_girl.rb
rails3-generators-0.17.3 lib/generators/factory_girl.rb
rails_templater-0.0.2 lib/template/generators/factory_girl.rb
rails3-generators-0.17.2 lib/generators/factory_girl.rb
rails3-generators-0.17.1 lib/generators/factory_girl.rb
rails3-generators-0.17.0 lib/generators/factory_girl.rb
rails3-generators-0.16.1 lib/generators/factory_girl.rb
rails3-generators-0.16.0 lib/generators/factory_girl.rb
rails3-generators-0.15.0 lib/generators/factory_girl.rb