module Mongoid::Extensions::Range
Public Instance Methods
__find_args__()
click to toggle source
Get the range as arguments for a find.
@example Get the range as find args.
range.__find_args__
@return [ Array ] The range as an array.
@since 3.0.0
# File lib/mongoid/extensions/range.rb, line 13 def __find_args__ to_a end
mongoize()
click to toggle source
resizable?()
click to toggle source
Is this a resizable object.
@example Is this resizable?
range.resizable?
@return [ true ] True.
@since 3.0.0
# File lib/mongoid/extensions/range.rb, line 38 def resizable? true end