lib/tweet_watch/config.rb in tweet_watch-0.2.3.pre vs lib/tweet_watch/config.rb in tweet_watch-0.2.3
- old
+ new
@@ -10,10 +10,10 @@
@count = 50
@error_message = ""
end
def load_from_path(path)
- unless File.exists?(path)
+ unless File.exist?(path)
raise ArgumentError.new("The provided config file could not be located: #{path}")
end
@path = path
c = YAML.load_file(@path)
\ No newline at end of file