Class: ClientData::Configuration
- Inherits:
-
Object
- Object
- ClientData::Configuration
- Defined in:
- lib/client_data/configuration.rb
Instance Attribute Summary collapse
-
#builder_namespace ⇒ Object
Returns the value of attribute builder_namespace.
-
#builder_root ⇒ Object
Returns the value of attribute builder_root.
-
#provider ⇒ Object
Returns the value of attribute provider.
Instance Method Summary collapse
- #default! ⇒ Object
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 |
# File 'lib/client_data/configuration.rb', line 5 def initialize default! end |
Instance Attribute Details
#builder_namespace ⇒ Object
Returns the value of attribute builder_namespace.
3 4 5 |
# File 'lib/client_data/configuration.rb', line 3 def builder_namespace @builder_namespace end |
#builder_root ⇒ Object
Returns the value of attribute builder_root.
3 4 5 |
# File 'lib/client_data/configuration.rb', line 3 def builder_root @builder_root end |
#provider ⇒ Object
Returns the value of attribute provider.
3 4 5 |
# File 'lib/client_data/configuration.rb', line 3 def provider @provider end |
Instance Method Details
#default! ⇒ Object
9 10 11 12 13 |
# File 'lib/client_data/configuration.rb', line 9 def default! self.builder_root = nil self.builder_namespace = '' self.provider = :gon if defined?(Gon) end |