Sha256: 3712aba9cb66fc006bc0087690d080d689bc811c50048ff68d0282782ec1811e

Contents?: true

Size: 245 Bytes

Versions: 5

Compression:

Stored size: 245 Bytes

Contents

#!/usr/bin/env ruby

require 'rio'
require 'rio/argv'

is_ruby_exe = proc{ |f| f.executable? and f.line[0] =~ /^#!.+ruby/ }

RIO.ARGV.each do |rpath|
  rpath.norecurse('.svn','pkg').files('*.rb',is_ruby_exe) do |f|
    puts f
  end
end

__END__

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
wishdev-rio-0.4.3.1 ex/findruby
rio-0.3.9 ex/findruby
rio-0.4.0 ex/findruby
rio-0.4.2 ex/findruby
rio-0.4.1 ex/findruby