Class: Dry::Initializer::Builders::Signature
- Inherits:
-
Object
- Object
- Dry::Initializer::Builders::Signature
- Defined in:
- lib/dry/initializer/builders/signature.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.[](config) ⇒ Object
8 9 10 |
# File 'lib/dry/initializer/builders/signature.rb', line 8 def self.[](config) new(config).call end |
Instance Method Details
#call ⇒ Object
12 13 14 |
# File 'lib/dry/initializer/builders/signature.rb', line 12 def call [*required_params, *optional_params, "*", ].compact.join(", ") end |