Class: Strict::Methods::Configuration
- Inherits:
-
Object
- Object
- Strict::Methods::Configuration
- Defined in:
- lib/strict/methods/configuration.rb
Instance Attribute Summary collapse
-
#parameters ⇒ Object
readonly
Returns the value of attribute parameters.
-
#returns ⇒ Object
readonly
Returns the value of attribute returns.
Instance Method Summary collapse
-
#initialize(parameters:, returns:) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(parameters:, returns:) ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 |
# File 'lib/strict/methods/configuration.rb', line 8 def initialize(parameters:, returns:) @parameters = parameters @returns = returns end |
Instance Attribute Details
#parameters ⇒ Object (readonly)
Returns the value of attribute parameters.
6 7 8 |
# File 'lib/strict/methods/configuration.rb', line 6 def parameters @parameters end |
#returns ⇒ Object (readonly)
Returns the value of attribute returns.
6 7 8 |
# File 'lib/strict/methods/configuration.rb', line 6 def returns @returns end |