Class: Couchdb::Config
- Inherits:
-
Object
- Object
- Couchdb::Config
- Defined in:
- lib/couchdb/couchdb_replicator/config.rb
Instance Attribute Summary collapse
-
#dbhosts ⇒ Object
Returns the value of attribute dbhosts.
Instance Method Summary collapse
- #finalize! ⇒ Object
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
5 6 7 |
# File 'lib/couchdb/couchdb_replicator/config.rb', line 5 def initialize @dbhosts = UNSET_VALUE end |
Instance Attribute Details
#dbhosts ⇒ Object
Returns the value of attribute dbhosts.
3 4 5 |
# File 'lib/couchdb/couchdb_replicator/config.rb', line 3 def dbhosts @dbhosts end |
Instance Method Details
#finalize! ⇒ Object
9 10 11 |
# File 'lib/couchdb/couchdb_replicator/config.rb', line 9 def finalize! @dbhosts = 0 if @dbhosts == UNSET_VALUE end |