Class: Solid::Result::CallableAndThen::Config
- Inherits:
-
Object
- Object
- Solid::Result::CallableAndThen::Config
- Defined in:
- lib/solid/result/callable_and_then/config.rb
Instance Attribute Summary collapse
-
#default_method_name_to_call ⇒ Object
Returns the value of attribute default_method_name_to_call.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
- #options ⇒ Object
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
7 8 9 |
# File 'lib/solid/result/callable_and_then/config.rb', line 7 def initialize self.default_method_name_to_call = :call end |
Instance Attribute Details
#default_method_name_to_call ⇒ Object
Returns the value of attribute default_method_name_to_call.
5 6 7 |
# File 'lib/solid/result/callable_and_then/config.rb', line 5 def default_method_name_to_call @default_method_name_to_call end |
Instance Method Details
#options ⇒ Object
11 12 13 |
# File 'lib/solid/result/callable_and_then/config.rb', line 11 def { default_method_name_to_call: default_method_name_to_call } end |