bin/tork in tork-15.0.0 vs bin/tork in tork-15.0.1
- old
+ new
@@ -1,9 +1,9 @@
#!/usr/bin/env ruby
=begin
-TORK 1 2012-01-23 15.0.0
+TORK 1 2012-01-24 15.0.1
==============================================================================
NAME
------------------------------------------------------------------------------
@@ -91,11 +91,11 @@
if command = COMMANDS[key]
warn "tork: Sending #{command.to_s.inspect} command..."
@driver.send [command]
break if command == :quit
else # invalid command
- COMMANDS.each do |key, command|
- warn "tork: Type #{key} then ENTER to #{command.to_s.tr('_', ' ')}."
+ COMMANDS.each do |k, cmd|
+ warn "tork: Type #{k} then ENTER to #{cmd.to_s.tr('_', ' ')}."
end
end
end
rescue Interrupt
# forced quit