Sha256: c74595db76f62d8b8b6b5c31c2050b48a7e49700898ea07a27914c1ea6e01962

Contents?: true

Size: 237 Bytes

Versions: 22

Compression:

Stored size: 237 Bytes

Contents

class Mustache
  module Generators
    module TemplatePath
      def source_root
        @_mustache_source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'mustache', generator_name, 'templates'))
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 2 rubygems

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