Class: Marameters::Models::Forward
- Inherits:
-
Struct
- Object
- Struct
- Marameters::Models::Forward
- Defined in:
- lib/marameters/models/forward.rb
Overview
Models arguments, by category, for forwarding.
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
-
#keywords ⇒ Object
Returns the value of attribute keywords.
-
#positionals ⇒ Object
Returns the value of attribute positionals.
Instance Method Summary collapse
-
#initialize(positionals: [], keywords: {}, block: nil) ⇒ Forward
constructor
A new instance of Forward.
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
#block ⇒ Object
Returns the value of attribute block
6 7 8 |
# File 'lib/marameters/models/forward.rb', line 6 def block @block end |
#keywords ⇒ Object
Returns the value of attribute keywords
6 7 8 |
# File 'lib/marameters/models/forward.rb', line 6 def keywords @keywords end |
#positionals ⇒ Object
Returns the value of attribute positionals
6 7 8 |
# File 'lib/marameters/models/forward.rb', line 6 def positionals @positionals end |