Method: ActiveSupport::PerThreadRegistry#method_missing
- Defined in:
- lib/skylight/vendor/active_support/per_thread_registry.rb
#method_missing(name, *args, &block) ⇒ Object (protected)
:nodoc:
37 38 39 40 41 42 43 44 |
# File 'lib/skylight/vendor/active_support/per_thread_registry.rb', line 37 def method_missing(name, *args, &block) # :nodoc: # Caches the method definition as a singleton method of the receiver. define_singleton_method(name) do |*a, &b| per_thread_registry_instance.public_send(name, *a, &b) end send(name, *args, &block) end |