search for: ruby_found

Displaying 1 result from an estimated 1 matches for "ruby_found".

2008 Jun 25
3
[OT] Byacc error
...#39;ruby.h'' to ''sapphire.h'', for example if File.basename(file) =~ /ruby/ old_file = file.dup file = File.join(File.dirname(file), File.basename(file).gsub(''ruby'', ''sapphire'')) File.rename(old_file, file) end ruby_found = false # Do a pass over the file first, looking for ''ruby''. IO.foreach(file){ |line| if line =~ /ruby/i ruby_found = true break end } # Skip over files that don''t contain the word ''ruby'' next unless ruby_fo...