Class: Handlers::Delegates
Instance Method Summary collapse
Methods inherited from Base
handle, #initialize, #raise_error, #upper
Constructor Details
This class inherits a constructor from Handlers::Base
Instance Method Details
#handle ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/handlers/delegates.rb', line 5 def handle delegates = upper('@@delegators') (delegates || []).each do |delegate| Delegate.new(@klass, delegate).handle end end |