Method: Ciql::Configuration#to_options
- Defined in:
- lib/ciql/configuration.rb
#to_options ⇒ Object
24 25 26 27 28 29 |
# File 'lib/ciql/configuration.rb', line 24 def all = [host].concat(hosts).compact.reject(&:empty?) self.hosts = [] self.host = all.join(',') unless all.empty? self.marshal_dump.dup.tap { |hash| hash.delete(:hosts) } end |