Module: Mongoid::Extensions::String::Conversions

Included in:
String
Defined in:
lib/mongoid/extensions/string/conversions.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#cast(value) ⇒ Object



5
6
7
# File 'lib/mongoid/extensions/string/conversions.rb', line 5

def cast(value)
  value.to_s
end