Class: Configure::Controls::Classes::KeywordArgument

Inherits:
Object
  • Object
show all
Defined in:
lib/configure/controls/classes/keyword_argument.rb

Defined Under Namespace

Classes: Optional

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(arg:) ⇒ KeywordArgument

Returns a new instance of KeywordArgument.



13
14
15
# File 'lib/configure/controls/classes/keyword_argument.rb', line 13

def initialize(arg:)
  @arg = arg
end

Instance Attribute Details

#argObject (readonly)

Returns the value of attribute arg.



11
12
13
# File 'lib/configure/controls/classes/keyword_argument.rb', line 11

def arg
  @arg
end