Sha256: 5b9a64c145b63be937f55a7e2fe3fa4e5c2554379ea5b222cdd35a79ac347277
Contents?: true
Size: 359 Bytes
Versions: 1
Compression:
Stored size: 359 Bytes
Contents
require 'contracts' require 'json' module Fuselage module Support module Config include ::Contracts::Core include ::Contracts::Builtin Contract None => Hash def config @config ||= (JSON.load STDIN || {}).tap do |payload| File.write 'config.json', payload if debugging? end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
concourse-fuselage-0.4.0 | lib/concourse-fuselage/support/config.rb |