Class: Yanapiri::MultiSourceConfig
- Inherits:
-
Thor::CoreExt::HashWithIndifferentAccess
- Object
- Thor::CoreExt::HashWithIndifferentAccess
- Yanapiri::MultiSourceConfig
- Defined in:
- lib/yanapiri/multi_source_config.rb
Instance Method Summary collapse
-
#initialize(first, *others) ⇒ MultiSourceConfig
constructor
A new instance of MultiSourceConfig.
Constructor Details
#initialize(first, *others) ⇒ MultiSourceConfig
Returns a new instance of MultiSourceConfig.
3 4 5 |
# File 'lib/yanapiri/multi_source_config.rb', line 3 def initialize(first, *others) super others.inject(first, &:merge) end |