Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

spaced options according to existing code style

  • Loading branch information...
commit f9cbe76f22598bd72dab134b8b74f2ea7fb993eb 1 parent 62d23e9
@hamin authored
Showing with 9 additions and 9 deletions.
  1. +9 −9 lib/mongo_mapper/plugins/modifiers.rb
View
18 lib/mongo_mapper/plugins/modifiers.rb
@@ -91,40 +91,40 @@ def unset(*keys)
self.class.unset(id, *keys)
end
- def increment(hash,options=nil)
+ def increment(hash, options=nil)
self.class.increment(id, hash, options)
end
- def decrement(hash,options=nil)
+ def decrement(hash, options=nil)
self.class.decrement(id, hash, options)
end
- def set(hash,options=nil)
+ def set(hash, options=nil)
self.class.set(id, hash, options)
end
- def push(hash,options=nil)
+ def push(hash, options=nil)
self.class.push(id, hash, options)
end
- def push_all(hash,options=nil)
+ def push_all(hash, options=nil)
self.class.push_all(id, hash, options)
end
- def pull(hash,options=nil)
+ def pull(hash, options=nil)
self.class.pull(id, hash, options)
end
- def pull_all(hash,options=nil)
+ def pull_all(hash, options=nil)
self.class.pull_all(id, hash, options)
end
- def add_to_set(hash,options=nil)
+ def add_to_set(hash, options=nil)
self.class.push_uniq(id, hash, options)
end
alias push_uniq add_to_set
- def pop(hash,options=nil)
+ def pop(hash, options=nil)
self.class.pop(id, hash, options)
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.