Method: Osheet::Workbook::ElementStack#using
- Defined in:
- lib/osheet/workbook.rb
#using(obj, &block) ⇒ Object
125 126 127 128 129 |
# File 'lib/osheet/workbook.rb', line 125 def using(obj, &block) push(obj) block.call if !block.nil? pop end |