Method: By2::Client#run
- Defined in:
- lib/by2/client.rb
#run ⇒ Object
37 38 39 40 41 42 43 44 45 46 |
# File 'lib/by2/client.rb', line 37 def run records = find_records unless @opts[:count] records.each { |r| $stdout.puts(terminal(r)) } end $stdout.puts(record_separator) $stdout.puts(record_count(records.count)) end |