Sha256: c2fd9865a8c15fc360850ba4a7d73bc72c6b1a701bb7c226391d641d518d9d7f
Contents?: true
Size: 507 Bytes
Versions: 188
Compression:
Stored size: 507 Bytes
Contents
# encoding: utf-8 module Mongoid #:nodoc: module Extensions #:nodoc: module String #:nodoc: module Conversions #:nodoc: extend ActiveSupport::Concern # Convert the string to an array with the string in it. # # @example Convert the string to an array. # "Testing".to_a # # @return [ Array ] An array with only the string in it. # # @since 1.0.0 def to_a [ self ] end end end end end
Version data entries
188 entries across 96 versions & 4 rubygems