Class: DRb::DRbObject

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

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(*args, &blk) ⇒ Object

rubocop:disable Style/MethodMissingSuper, Style/MissingRespondToMissing



10
11
12
13
14
15
# File 'lib/drb/http0helper.rb', line 10

def method_missing(*args, &blk) # rubocop:disable Style/MethodMissingSuper, Style/MissingRespondToMissing
  __orig_method_missing(*args, &blk)
rescue DRb::DRbConnError, Errno::ECONNREFUSED
  sleep 0.1
  retry
end

Instance Method Details

#__orig_method_missingObject



9
# File 'lib/drb/http0helper.rb', line 9

alias __orig_method_missing method_missing