Class: DRb::DRbObject
- Inherits:
-
Object
- Object
- DRb::DRbObject
- Defined in:
- lib/drb/http0helper.rb
Instance Method Summary collapse
- #__orig_method_missing ⇒ Object
-
#method_missing(*args, &blk) ⇒ Object
rubocop:disable Style/MethodMissingSuper, Style/MissingRespondToMissing.
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_missing ⇒ Object
9 |
# File 'lib/drb/http0helper.rb', line 9 alias __orig_method_missing method_missing |