Module: Mongoid::Extensions::String::Conversions
- Extended by:
- ActiveSupport::Concern
- Included in:
- String
- Defined in:
- lib/mongoid/extensions/string/conversions.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#to_a ⇒ Array
Convert the string to an array with the string in it.
Instance Method Details
#to_a ⇒ Array
Convert the string to an array with the string in it.
16 17 18 |
# File 'lib/mongoid/extensions/string/conversions.rb', line 16 def to_a [ self ] end |