Method: Mongoid::Extensions::Hash::ClassMethods#resizable?

Defined in:
lib/mongoid/extensions/hash.rb

#resizable?true

Can the size of this object change?

Examples:

Is the hash resizable?

{}.resizable?

Returns:

  • (true)

    true.



139
140
141
# File 'lib/mongoid/extensions/hash.rb', line 139

def resizable?
  true
end