| Module | Origin::Extensions::Symbol::ClassMethods |
| In: |
lib/origin/extensions/symbol.rb
|
Adds a method on symbol as a convenience for the MongoDB operator.
@example Add the $in method.
Symbol.add_key(:in, "$in")
@param [ Symbol ] name The name of the method. @param [ Symbol ] strategy The name of the merge strategy. @param [ String ] operator The MongoDB operator. @param [ String ] additional The additional MongoDB operator.
@since 1.0.0