Class: Precursor::ConfigKeyBuilder
- Inherits:
-
Object
- Object
- Precursor::ConfigKeyBuilder
- Defined in:
- lib/config_key_builder.rb
Overview
A builder to provide Precursor key options
Instance Method Summary collapse
- #build ⇒ Object
- #default(value) ⇒ Object
-
#initialize ⇒ ConfigKeyBuilder
constructor
A new instance of ConfigKeyBuilder.
Constructor Details
#initialize ⇒ ConfigKeyBuilder
Returns a new instance of ConfigKeyBuilder.
6 7 8 |
# File 'lib/config_key_builder.rb', line 6 def initialize = {} end |
Instance Method Details
#build ⇒ Object
14 15 16 |
# File 'lib/config_key_builder.rb', line 14 def build end |
#default(value) ⇒ Object
10 11 12 |
# File 'lib/config_key_builder.rb', line 10 def default(value) [:default] = value end |