Class: Strict::Methods::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/strict/methods/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#parametersObject (readonly)

Returns the value of attribute parameters.



6
7
8
# File 'lib/strict/methods/configuration.rb', line 6

def parameters
  @parameters
end

#returnsObject (readonly)

Returns the value of attribute returns.



6
7
8
# File 'lib/strict/methods/configuration.rb', line 6

def returns
  @returns
end