Sha256: c8491cc9024ba9d3e345c172fc87d841549b763f3527fbb9010bb338b0f94018

Contents?: true

Size: 426 Bytes

Versions: 4

Compression:

Stored size: 426 Bytes

Contents

require "rails/generators"
module Chatroom
	module Generators
		class InstallGenerator < Rails::Generators::Base
			source_root File.expand_path('../templates', __FILE__)

			desc "Create a Chatroom initalizer and run generators."
			class_option :orm

			def install_app
				generate "chatroom messages"
				generate "chatroom:views"
				generate "chatroom:helpers"
				generate "chatroom:controllers"
			end

		end
	end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
chatroom-0.1.1 lib/generators/chatroom/install_generator.rb
chatroom-0.1.0 lib/generators/chatroom/install_generator.rb
chatroom-0.0.9 lib/generators/chatroom/install_generator.rb
chatroom-0.0.8 lib/generators/chatroom/install_generator.rb