Method: Typhoeus::ClassMethods#inherited
- Defined in:
- lib/typhoeus/remote.rb
#inherited(child) ⇒ Object
If we get subclassed, make sure that child inherits the remote defaults of the parent class.
212 213 214 |
# File 'lib/typhoeus/remote.rb', line 212 def inherited(child) child.__send__(:remote_defaults, @remote_defaults) end |