bin/controller in watirgrid-0.0.8.pre vs bin/controller in watirgrid-0.0.9
- old
+ new
@@ -8,12 +8,12 @@
OptionParser.new do |opts|
opts.banner = "Usage: controller [options]"
opts.separator ""
opts.separator "Specific options:"
opts.on("-H HOST", "--drb-server-host", String,
- "Specify DRb Server interface to host on") do |H|
- options[:drb_server_host] = H || nil
+ "Specify DRb Server interface to host on") do |h|
+ options[:drb_server_host] = h || nil
end
opts.on("-d PORT", "--drb-server-port", Integer,
"Specify DRb Server port to listen on") do |d|
options[:drb_server_port] = d
end
@@ -55,6 +55,6 @@
:ring_server_port => options[:ring_server_port] || 12358,
:acls => options[:acls] || %w{ allow all },
:loglevel => options[:loglevel]
)
controller.start
-DRb.thread.join
\ No newline at end of file
+DRb.thread.join