Sha256: 7c7e8d94014eaa1425e9d0e1d7689b9ed18124077b47dfdf6d3ba51e213a187e

Contents?: true

Size: 506 Bytes

Versions: 5

Compression:

Stored size: 506 Bytes

Contents

require 'rails'

module Tableview
  module Generators
    class InstallGenerator < ::Rails::Generators::Base
      desc "Creates the responder file necessary for proper working of the plugin."
      def create_application_responder
        # record do |m|
        #         m.file "definition.txt", "definition.txt"
        #       end
        lib 'application_responder.rb', "class ApplicationResponder < ActionController::Responder\n\tinclude Tableview::Responder\nend"
      
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tableview-0.4.0 lib/generators/tableview/install/install_generator.rb
tableview-0.3.3 lib/generators/tableview/install/install_generator.rb
tableview-0.3.2 lib/generators/tableview/install/install_generator.rb
tableview-0.3.1 lib/generators/tableview/install/install_generator.rb
tableview-0.3.0 lib/generators/tableview/install/install_generator.rb