Sha256: e4c1c0c4e842874e0ed9d2bc54d589ae15963a4fc189014ff8652236d48fb6c1
Contents?: true
Size: 322 Bytes
Versions: 1
Compression:
Stored size: 322 Bytes
Contents
#!/usr/bin/env ruby require 'rio' require 'rio/argv' re = ARGV.shift is_ruby_exe = proc{ |f| f.executable? and f[0][0] =~ /^#!.+ruby/ } RIO.ARGV.each do |rpath| rpath.norecurse('.svn','pkg').files('*.rb',is_ruby_exe) do |f| print f.lines[/#{re}/].map{ |line| "#{f}: #{line}" } end end __END__
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rio-0.3.7 | ex/findinruby |