Module: Typelizer::DelegateTracker
- Defined in:
- lib/typelizer/delegate_tracker.rb
Defined Under Namespace
Modules: Hook
Class Attribute Summary collapse
-
.registry ⇒ Object
readonly
Returns the value of attribute registry.
Class Method Summary collapse
Class Attribute Details
.registry ⇒ Object (readonly)
Returns the value of attribute registry.
8 9 10 |
# File 'lib/typelizer/delegate_tracker.rb', line 8 def registry @registry end |
Class Method Details
.[](klass, method) ⇒ Object
10 11 12 |
# File 'lib/typelizer/delegate_tracker.rb', line 10 def [](klass, method) registry.dig(klass, method) end |