Class: Marameters::Models::Forward

Inherits:
Struct
  • Object
show all
Defined in:
lib/marameters/models/forward.rb

Overview

Models arguments, by category, for forwarding.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(positionals: [], keywords: {}, block: nil) ⇒ Forward

Returns a new instance of Forward.



7
# File 'lib/marameters/models/forward.rb', line 7

def initialize(positionals: [], keywords: {}, block: nil) = super

Instance Attribute Details

#blockObject

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block



6
7
8
# File 'lib/marameters/models/forward.rb', line 6

def block
  @block
end

#keywordsObject

Returns the value of attribute keywords

Returns:

  • (Object)

    the current value of keywords



6
7
8
# File 'lib/marameters/models/forward.rb', line 6

def keywords
  @keywords
end

#positionalsObject

Returns the value of attribute positionals

Returns:

  • (Object)

    the current value of positionals



6
7
8
# File 'lib/marameters/models/forward.rb', line 6

def positionals
  @positionals
end