Commits

Michael Granger committed 2b1f61e

Fixed the examples to use the hash-argument ::start instead of the old 4-arg style. Thanks
to Mike Hix for pointing this out.

Comments (0)

Files changed (2)

examples/homedirservice.rb

 
 end # HomeDirService
 
-HomeDirService.start( '127.0.0.1', 4848, 'service-cert.pem', 'service-key' )
+HomeDirService.start(
+	:ip       => '127.0.0.1',
+	:port     => 4848, 
+	:certfile => 'service-cert.pem',
+	:keyfile  => 'service-key' )
 

examples/rubyversion.rb

 
 end
 
-RubyVersionService.start( '127.0.0.1', 4848, 'service-cert.pem', 'service-key' )
+RubyVersionService.start( 
+	:ip       => '127.0.0.1',
+	:port     => 4848, 
+	:certfile => 'service-cert.pem',
+	:keyfile  => 'service-key' )