Class: Pad::Configuration
- Inherits:
-
Object
- Object
- Pad::Configuration
- Defined in:
- lib/pad/configuration.rb
Instance Attribute Summary collapse
-
#builder ⇒ Object
Returns the value of attribute builder.
-
#repository ⇒ Object
Returns the value of attribute repository.
Instance Method Summary collapse
-
#initialize(options = {}) {|_self| ... } ⇒ Configuration
constructor
private
A new instance of Configuration.
Constructor Details
#initialize(options = {}) {|_self| ... } ⇒ Configuration
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Configuration.
7 8 9 10 11 |
# File 'lib/pad/configuration.rb', line 7 def initialize( = {}) self.builder = .fetch(:builder, Pad::Virtus) yield self if block_given? end |
Instance Attribute Details
#builder ⇒ Object
Returns the value of attribute builder.
3 4 5 |
# File 'lib/pad/configuration.rb', line 3 def builder @builder end |
#repository ⇒ Object
Returns the value of attribute repository.
4 5 6 |
# File 'lib/pad/configuration.rb', line 4 def repository @repository end |