Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

Delegator#respond_to_missing?

(::Symbol m, bool include_private) -> bool
respond_to_missing?(m, include_private)

Checks for a method provided by this the delegate object by forwarding the call through __getobj__.

See also #raise #__setobj__ #__raise__ #target_respond_to? also in 4.1 · 4.0 · 3.3 · 3.2 · 3.1 · 3.0