Sha256: 76b88aceadb4ed81d7ae2c814e8ed4ddeecdc4fb5695beadc6dc13de0a48380c

Contents?: true

Size: 265 Bytes

Versions: 4

Compression:

Stored size: 265 Bytes

Contents

require 'rails/generators/named_base'

module Haml
  module Generators
    module TemplatePath
      def source_root
        @_haml_source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'haml', generator_name, 'templates'))
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aslon_scaffold-0.0.15 lib/generators/haml.rb
aslon_scaffold-0.0.14 lib/generators/haml.rb
aslon_scaffold-0.0.13 lib/generators/haml.rb
aslon_scaffold-0.0.12 lib/generators/haml.rb