Class: Tchae::Arguments

Inherits:
Object show all
Defined in:
lib/tchae/core.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#keywordObject (readonly)

Returns the value of attribute keyword.



276
277
278
# File 'lib/tchae/core.rb', line 276

def keyword
  @keyword
end

#positionalObject (readonly)

Returns the value of attribute positional.



275
276
277
# File 'lib/tchae/core.rb', line 275

def positional
  @positional
end