Sha256: b6abfbec21e82f6f0d794d46c6548ba8cb8872d1b97831c02e9fa1ba93e926d0

Contents?: true

Size: 394 Bytes

Versions: 6

Compression:

Stored size: 394 Bytes

Contents

require 'rails/generators/erb/scaffold/scaffold_generator'
require File.join(File.dirname(__FILE__), '../base')

module NestedScaffold
  module Generators
    class HamlGenerator < ::Erb::Generators::ScaffoldGenerator
      include ::NestedScaffold::Base

      source_root File.expand_path('../templates', __FILE__)

      protected
      def handler
        :haml
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
nested_scaffold-1.1.0 lib/generators/haml/haml_generator.rb
nested_scaffold-1.0.0 lib/generators/haml/haml_generator.rb
nested_scaffold-0.2.1 lib/generators/haml/haml_generator.rb
nested_scaffold-0.2.0 lib/generators/haml/haml_generator.rb
nested_scaffold-0.1.0 lib/generators/haml/haml_generator.rb
nested_scaffold-0.0.1 lib/generators/haml/haml_generator.rb