Sha256: 152e35e8927cba9da0705b0fcee64216a279378503c4843635ecb5a74e19990f

Contents?: true

Size: 306 Bytes

Versions: 13

Compression:

Stored size: 306 Bytes

Contents

require 'contracts'
require_relative 'config'

module Fuselage
  module Support
    module Source
      include ::Contracts::Core
      include ::Contracts::Builtin
      include Config

      Contract None => Hash
      def source
        @source ||= config.fetch 'source', {}
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
concourse-fuselage-0.5.8 lib/concourse-fuselage/support/source.rb
concourse-fuselage-0.5.7 lib/concourse-fuselage/support/source.rb
concourse-fuselage-0.5.2 lib/concourse-fuselage/support/source.rb
concourse-fuselage-0.5.1 lib/concourse-fuselage/support/source.rb
concourse-fuselage-0.5.0 lib/concourse-fuselage/support/source.rb
concourse-fuselage-0.4.1 lib/concourse-fuselage/support/source.rb
concourse-fuselage-0.4.0 lib/concourse-fuselage/support/source.rb
concourse-fuselage-0.3.2 lib/concourse-fuselage/support/source.rb
concourse-fuselage-0.3.1 lib/concourse-fuselage/support/source.rb
concourse-fuselage-0.3.0 lib/concourse-fuselage/support/source.rb
concourse-fuselage-0.2.0 lib/concourse-fuselage/support/source.rb
concourse-fuselage-0.1.1 lib/concourse-fuselage/support/source.rb
concourse-fuselage-0.1.0 lib/concourse-fuselage/support/source.rb