Class: Urbivore::BasicProcessor
- Inherits:
-
Object
- Object
- Urbivore::BasicProcessor
- Defined in:
- lib/urbivore/processor.rb
Class Method Summary collapse
Class Method Details
.process(queued_object) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/urbivore/processor.rb', line 4 def process(queued_object) if queued_object.respond_to?(:messages) queued_object..each { |str| puts str } else puts queued_object.to_s end end |