Class: Configure::Controls::KeywordArgument::Example
- Inherits:
-
Object
- Object
- Configure::Controls::KeywordArgument::Example
- Includes:
- Configure
- Defined in:
- lib/configure/controls/keyword_argument.rb
Instance Attribute Summary collapse
-
#arg ⇒ Object
readonly
Returns the value of attribute arg.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(arg:) ⇒ Example
constructor
A new instance of Example.
Methods included from Configure
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
#arg ⇒ Object (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 |