Class: Tchae::Arguments
Instance Attribute Summary collapse
-
#keyword ⇒ Object
readonly
Returns the value of attribute keyword.
-
#positional ⇒ Object
readonly
Returns the value of attribute positional.
Instance Method Summary collapse
-
#initialize(wrapper) ⇒ Arguments
constructor
A new instance of Arguments.
Constructor Details
#initialize(wrapper) ⇒ Arguments
Returns a new instance of Arguments.
277 278 279 280 281 |
# File 'lib/tchae/core.rb', line 277 def initialize(wrapper) @wrapper = wrapper @positional = PositionalArgs.new(wrapper) @keyword = KeywordArgs.new(wrapper) end |
Instance Attribute Details
#keyword ⇒ Object (readonly)
Returns the value of attribute keyword.
276 277 278 |
# File 'lib/tchae/core.rb', line 276 def keyword @keyword end |
#positional ⇒ Object (readonly)
Returns the value of attribute positional.
275 276 277 |
# File 'lib/tchae/core.rb', line 275 def positional @positional end |