Sha256: b9c75a303ba8bd344bb8115460973e7799eb824bb9ecb854653216b3e47b555f

Contents?: true

Size: 656 Bytes

Versions: 3

Compression:

Stored size: 656 Bytes

Contents

require_relative('hash.rb')
require_relative('setup.rb')
require_relative('build.rb')
require_relative('test.rb')
require_relative('publish.rb')
require_relative('doc.rb')
require_relative('clean.rb')
require_relative('clobber.rb')
require_relative('add.rb')
require_relative('commit.rb')
require_relative('push.rb')

class Commands < Hash

	def initialize directory=Dir.pwd
		Dir.chdir(directory) do
		  self[:setup]=Setup.new
		  self[:build]=Build.new
		  self[:test]=Test.new
		  self[:publish]=Publish.new
		  self[:doc]=Doc.new
		  self[:clean]=Clean.new
		  self[:add]=Add.new
		  self[:commit]=Commit.new
		  self[:push]=Push.new
	    end
	end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dev_commands-0.0.17 lib/commands.rb
dev_commands-0.0.16 lib/commands.rb
dev_commands-0.0.15 lib/commands.rb