lib/freighthop/config.rb in freighthop-0.0.6 vs lib/freighthop/config.rb in freighthop-0.1.0
- old
+ new
@@ -1,5 +1,9 @@
class Freighthop::Config
+ def self.exist?
+ file.exist?
+ end
+
def self.file
Freighthop.host_root.join('.freighthop.json')
end
def self.config