Class: Nauvisian::CLI::Lister::Plain

Inherits:
Nauvisian::CLI::Lister show all
Defined in:
lib/nauvisian/cli/lister.rb

Instance Method Summary collapse

Methods inherited from Nauvisian::CLI::Lister

all, for, inherited, #initialize

Constructor Details

This class inherits a constructor from Nauvisian::CLI::Lister

Instance Method Details

#list(rows) ⇒ Object



52
53
54
55
56
# File 'lib/nauvisian/cli/lister.rb', line 52

def list(rows)
  rows.each do |row|
    puts row.values_at(*@headers).join(" ")
  end
end