Method: Output::Writer#pop_device
- Defined in:
- lib/output/writer.rb
#pop_device ⇒ Object
170 171 172 173 174 |
# File 'lib/output/writer.rb', line 170 def pop_device return if devices.count == 0 device = devices.pop remove_device device end |