Class DataMapper::Property::String
In: lib/dm-core/property/string.rb
Parent: Object

Methods

Included Modules

PassThroughLoadDump

Constants

DEFAULT_LENGTH = 50

Public Class methods

Public Instance methods

Returns maximum property length (if applicable). This usually only makes sense when property is of type Range or custom

@return [Integer, nil]

  the maximum length of this property

@api semipublic

Protected Instance methods

Typecast a value to a String

@param [to_s] value

  value to typecast

@return [String]

  String constructed from value

@api private

[Validate]