Class: DRb::DRbTCPSocket

Inherits:
Object
  • Object
show all
Defined in:
lib/background_services.rb

Overview

HACK

Class Method Summary collapse

Class Method Details

.parse_uri(*args) ⇒ Object



15
16
17
18
19
# File 'lib/background_services.rb', line 15

def parse_uri(*args)
  ary = parse_uri_orig(*args)
  ary[1] = (rand(100_000)+50_000) if ary[1] == 0
  ary
end

.parse_uri_origObject



14
# File 'lib/background_services.rb', line 14

alias parse_uri_orig parse_uri