Method: Peck::Delegates#method_missing
- Defined in:
- lib/peck/delegates.rb
#method_missing(method, *args, &block) ⇒ Object
24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/peck/delegates.rb', line 24 def method_missing(method, *args, &block) method = method.to_s if .include?(method) each do |delegate| if delegate.respond_to?(method) delegate.send(method, *args, &block) end end else super end end |