Sha256: d79c674448ca6df340258c1f216f3309ffa7b093daba3301fee9abd546292af2

Contents?: true

Size: 273 Bytes

Versions: 1

Compression:

Stored size: 273 Bytes

Contents

#!/usr/local/bin/ruby

# reads from standard input and writes the number
# of lines to standard output
# used to test cmdpipe Rios

$:.unshift File.expand_path(File.dirname(__FILE__)+'/../../lib/')
require 'rio'

dir = ARGV.shift || '.'
rio(dir).chdir {
  puts rio.to_a
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rio-0.3.8 test/bin/list_dir.rb