Sha256: 052eb846230d010fe4acc238c5db1b6409d85e31bdd32ad295e70fe3d4e8cff9

Contents?: true

Size: 358 Bytes

Versions: 12

Compression:

Stored size: 358 Bytes

Contents

module Conveyor
	module Input
		class Commands
			class << self
				def stop(*opts)
					Kernel.exit
				end
				alias_method :exit, :stop

				def listeners(*opts)
					puts "Watching: "
					puts "\t" + Conveyor::Foreman.instance.workers.keys.join("\n\t")
				end

				def unknown(cmd = nil)
					puts "Unknown command #{cmd}"
				end
			end
		end
	end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
gina-conveyor-1.0.1 lib/conveyor/input/commands.rb
gina-conveyor-1.0.0 lib/conveyor/input/commands.rb
gina-conveyor-0.2.4 lib/conveyor/input/commands.rb
gina-conveyor-0.2.3 lib/conveyor/input/commands.rb
gina-conveyor-0.2.2 lib/conveyor/input/commands.rb
gina-conveyor-0.2.1 lib/conveyor/input/commands.rb
gina-conveyor-0.2.0 lib/conveyor/input/commands.rb
gina-conveyor-0.1.3 lib/conveyor/input/commands.rb
gina-conveyor-0.1.2 lib/conveyor/input/commands.rb
gina-conveyor-0.1.1 lib/conveyor/input/commands.rb
gina-conveyor-0.1.0 lib/conveyor/input/commands.rb
gina-conveyor-0.0.2 lib/conveyor/input/commands.rb