lib/rbbt/util/R.rb in rbbt-util-5.20.9 vs lib/rbbt/util/R.rb in rbbt-util-5.20.10
- old
+ new
@@ -29,10 +29,10 @@
cmd << require_sources + "\n\n" if require_sources
case
when IO === command
cmd << command.read
- when File.exists?(command)
+ when File.exist?(command)
cmd << File.open(command, 'r') do |f| f.read end
else
cmd << command
end