lib/mongoid/shell/commands/mongo.rb in mongoid-shell-0.3.0 vs lib/mongoid/shell/commands/mongo.rb in mongoid-shell-0.4.0
- old
+ new
@@ -12,10 +12,10 @@
def initialize(attrs = {})
super
end
def host_port_and_db
- [primary, db].compact.join("/")
+ [primary, db].compact.join('/')
end
def vargs
super({
'db address' => :host_port_and_db,