Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

s/run/start/ in the example code.

  • Loading branch information...
commit 8b85c76da338c0e8e974b24a335196b9791cf3ef 1 parent 344920a
tailor authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  doc/lc_example.rb
  2. +2 −2 doc/lc_unix_example.rb
View
2  doc/lc_example.rb
@@ -22,7 +22,7 @@
$x = ARGV[1]
lc = LiveConsole.new :socket, :port => port
-lc.run
+lc.start
puts "My PID is #{Process.pid}, " \
"I'm running on port #{port}, and $x = #{$x.inspect}"
View
4 doc/lc_unix_example.rb
@@ -20,8 +20,8 @@
path = path.nil? ? default_path : path
$x = ARGV[1]
-lc = LiveConsole.new :unix_socket, :path => path
-lc.run
+lc = LiveConsole.new :unix_socket, :path => path, :bind => binding
+lc.start
puts "My PID is #{Process.pid}, " \
"I'm running on #{path}, and $x = #{$x.inspect}"
Please sign in to comment.
Something went wrong with that request. Please try again.