Module: Mongoid::Extensions::Range::Conversions
- Extended by:
- ActiveSupport::Concern
- Included in:
- Range
- Defined in:
- lib/mongoid/extensions/range/conversions.rb
Overview
:nodoc:
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#to_hash ⇒ Object
8 9 10 |
# File 'lib/mongoid/extensions/range/conversions.rb', line 8 def to_hash { "min" => min, "max" => max } end |