Sha256: 2b81965c420a8dece3dbeb5e91ac66d308283fe213d33b57855b4794d56a9535

Contents?: true

Size: 253 Bytes

Versions: 3

Compression:

Stored size: 253 Bytes

Contents

module SimpleFormErb
  module Generators
    module TemplatePath
      def source_root
        @_simple_form_source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'simple_form_erb', generator_name, 'templates'))
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails3-generators-0.8.2 lib/generators/simple_form_erb.rb
rails3-generators-0.8.1 lib/generators/simple_form_erb.rb
rails3-generators-0.8.0 lib/generators/simple_form_erb.rb