diff options
author | laurocaetano <laurocaetano1@gmail.com> | 2013-11-01 18:15:53 -0200 |
---|---|---|
committer | laurocaetano <laurocaetano1@gmail.com> | 2013-11-01 18:15:53 -0200 |
commit | d48222d22ef576c1b429ec2321c712bc221698d7 (patch) | |
tree | d9c8641b6989e5405d07799d88fe21ee344898ca /guides/rails_guides | |
parent | a221b30b3fb309f1edfa0c330fd57c1efaadd509 (diff) | |
download | rails-d48222d22ef576c1b429ec2321c712bc221698d7.tar.gz rails-d48222d22ef576c1b429ec2321c712bc221698d7.tar.bz2 rails-d48222d22ef576c1b429ec2321c712bc221698d7.zip |
remove warnings on ruby trunk
Diffstat (limited to 'guides/rails_guides')
-rw-r--r-- | guides/rails_guides/generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/rails_guides/generator.rb b/guides/rails_guides/generator.rb index af9c5b8372..aa900454c8 100644 --- a/guides/rails_guides/generator.rb +++ b/guides/rails_guides/generator.rb @@ -184,7 +184,7 @@ module RailsGuides def generate?(source_file, output_file) fin = File.join(source_dir, source_file) fout = output_path_for(output_file) - all || !File.exists?(fout) || File.mtime(fout) < File.mtime(fin) + all || !File.exist?(fout) || File.mtime(fout) < File.mtime(fin) end def generate_guide(guide, output_file) |