Class: Ringo::Emitter

Inherits:
Object
  • Object
show all
Defined in:
lib/ringo/emitter.rb

Class Method Summary collapse

Class Method Details

.emit(objects) ⇒ Object



6
7
8
9
10
# File 'lib/ringo/emitter.rb', line 6

def emit objects
  objects.each do |object|
    puts object.to_emit
  end
end

.emit_table(table, order) ⇒ Object



12
13
14
# File 'lib/ringo/emitter.rb', line 12

def emit_table table, order
  Formatador.display_table table, order
end