Sha256: 889c0efcef8aa077492ac4e80bbe40c09fea5f81311ce96c987a5148a0c06c8f
Contents?: true
Size: 202 Bytes
Versions: 1
Compression:
Stored size: 202 Bytes
Contents
class Freighthop::Config def self.file Freighthop.root.join('.freighthop.json') end def self.config @config = JSON.parse(file.read) end def self.fetch(key) config[key] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
freighthop-0.0.3 | lib/freighthop/config.rb |