Class: Methods::Configuration
- Inherits:
-
Object
- Object
- Methods::Configuration
- Defined in:
- lib/methods/configuration.rb
Instance Attribute Summary collapse
-
#curry_args_strategy ⇒ Object
Defines if the curried args are prepended or appended to the arguments received during the method call.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
9 10 11 |
# File 'lib/methods/configuration.rb', line 9 def initialize @curry_args_strategy = :prepend end |
Instance Attribute Details
#curry_args_strategy ⇒ Object
Defines if the curried args are prepended or appended to the arguments received during the method call
Valid values: :prepend, :append
7 8 9 |
# File 'lib/methods/configuration.rb', line 7 def curry_args_strategy @curry_args_strategy end |