Sha256: 3d252335f49136a10dfdaf3f54e2753d45217fcafd651482c0175a18d50f97a0

Contents?: true

Size: 420 Bytes

Versions: 5

Compression:

Stored size: 420 Bytes

Contents

module ConfigX
  class Builder
    type source = Source | Hash[untyped, untyped] | String | Pathname | Object

    def self.load: -> Config
    def self.source: [T < Source] (source, **untyped) -> T

    def initialize: -> void

    attr_reader sources: Array[Source]


    def add_source: (source, **untyped) -> self

    def load: -> Config

    private

    def read_from_sources: -> Hash[untyped, untyped]
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
configx-0.5.0 sig/config_x/builder.rbs
configx-0.4.0 sig/config_x/builder.rbs
configx-0.3.0 sig/config_x/builder.rbs
configx-0.2.0 sig/config_x/builder.rbs
configx-0.1.0 sig/config_x/builder.rbs