Class: Configure::Controls::KeywordArgument::Example

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Configure

activate, extended, included

Constructor Details

#initialize(arg:) ⇒ Example

Returns a new instance of Example.



15
16
17
# File 'lib/configure/controls/keyword_argument.rb', line 15

def initialize(arg:)
  @arg = arg
end

Instance Attribute Details

#argObject (readonly)

Returns the value of attribute arg.



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

def arg
  @arg
end

Class Method Details

.build(arg:) ⇒ Object



9
10
11
# File 'lib/configure/controls/keyword_argument.rb', line 9

def self.build(arg:)
  new(arg: arg)
end