summaryrefslogtreecommitdiff
path: root/lib/drb/drb.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/drb/drb.rb')
-rw-r--r--lib/drb/drb.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/drb/drb.rb b/lib/drb/drb.rb
index c93762ca74f..b4ccc113066 100644
--- a/lib/drb/drb.rb
+++ b/lib/drb/drb.rb
@@ -563,7 +563,7 @@ module DRb
def load(soc) # :nodoc:
begin
- sz = soc.read(4) # sizeof (N)
+ sz = soc.read(4) # sizeof (N)
rescue
raise(DRbConnError, $!.message, $!.backtrace)
end
@@ -812,7 +812,7 @@ module DRb
[host, port, option]
else
raise(DRbBadScheme, uri) unless uri =~ /^druby:/
- raise(DRbBadURI, 'can\'t parse uri:' + uri)
+ raise(DRbBadURI, 'can\'t parse uri:' + uri)
end
end
@@ -1117,7 +1117,7 @@ module DRb
result.backtrace.each do |x|
break if /`__send__'$/ =~ x
if /^\(druby:\/\// =~ x
- bt.push(x)
+ bt.push(x)
else
bt.push(prefix + x)
end
@@ -1584,7 +1584,7 @@ module DRb
Thread.start(@protocol.accept) do |client|
@grp.add Thread.current
Thread.current['DRb'] = { 'client' => client ,
- 'server' => self }
+ 'server' => self }
loop do
begin
succ = false