Class: Garage::Config::Builder
- Inherits:
-
Object
- Object
- Garage::Config::Builder
- Defined in:
- lib/garage/config.rb
Instance Method Summary collapse
- #build ⇒ Object
- #cast_resource(&block) ⇒ Object
- #docs ⇒ Object
-
#initialize(&block) ⇒ Builder
constructor
A new instance of Builder.
Constructor Details
Instance Method Details
#build ⇒ Object
73 74 75 |
# File 'lib/garage/config.rb', line 73 def build @config end |
#cast_resource(&block) ⇒ Object
77 78 79 |
# File 'lib/garage/config.rb', line 77 def cast_resource(&block) @config.cast_resource = block end |