mirror of
https://github.com/ruby/ruby.git
synced 2026-01-28 13:04:22 +00:00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
11 lines
202 B
Ruby
Executable File
11 lines
202 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
Dir.chdir('../rubyspec') do
|
|
regexp = Regexp.new(ARGV[0])
|
|
Dir.glob('**/*.rb') do |file|
|
|
contents = File.read(file)
|
|
if regexp =~ contents
|
|
puts file
|
|
end
|
|
end
|
|
end
|