Module: Dispatcher::InitializeWithBlock
- Defined in:
- lib/bakery/detail/dispatcher.rb
Instance Method Summary collapse
Instance Method Details
#new(*args, &block) ⇒ Object
18 19 20 21 22 |
# File 'lib/bakery/detail/dispatcher.rb', line 18 def new *args, &block obj = self.allocate obj.send :initialize, *args, &block obj end |