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-0.10.0 lib/generators/mustache.rb
mustache_rails3-0.1.2 lib/generators/mustache.rb