Module: Kernel
- Defined in:
- lib/with_resources/kernel_ext.rb
Instance Method Summary collapse
Instance Method Details
#with(alloc, &block) ⇒ Object
4 5 6 |
# File 'lib/with_resources/kernel_ext.rb', line 4 def with(alloc, &block) WithResources.with(alloc, &block) end |