Sha256: 7ffaa09f02342379744df204c567abc645346f1d7804e11ed0a469bc2a5d08d8

Contents?: true

Size: 330 Bytes

Versions: 2

Compression:

Stored size: 330 Bytes

Contents

class Mona::Config::Manager
  include Mona::Mixins

  Inject = Mona::Deps[
    config_loader: "config.loader"
  ]

  include Inject

  sig do
    params(
      method_name: Symbol,
      args: T.anything
    )
    .returns(Mona::Config)
  end
  def method_missing(method_name, *args)
    config_loader.call(method_name)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mona-0.2.3 lib/mona/config/manager.rb
mona-0.2.2 lib/mona/config/manager.rb