diff --git a/ChangeLog b/ChangeLog index 5c50f32789..3c95a102e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Jul 23 04:04:38 2014 SHIBATA Hiroshi + + * lib/drb/extserv.rb: remove duplicate code with sample direcotry. + contributed from @vipulnsward. [fix GH-679] + Tue Jul 22 12:56:24 2014 Nobuyoshi Nakada * string.c (rb_str_count): fix wrong single-byte optimization. diff --git a/lib/drb/extserv.rb b/lib/drb/extserv.rb index c70ced877c..327b553a25 100644 --- a/lib/drb/extserv.rb +++ b/lib/drb/extserv.rb @@ -41,33 +41,3 @@ module DRb end end end - -# :stopdoc: - -if __FILE__ == $0 - class Foo - include DRbUndumped - - def initialize(str) - @str = str - end - - def hello(it) - "#{it}: #{self}" - end - - def to_s - @str - end - end - - cmd = ARGV.shift - case cmd - when 'itest1', 'itest2' - front = Foo.new(cmd) - manager = DRb::DRbServer.new(nil, front) - es = DRb::ExtServ.new(ARGV.shift, ARGV.shift, manager) - es.server.thread.join - end -end -