Sha256: e4db0a1027afe91780c646e3719571d3b27a257db33be9be14861659de78e302
Contents?: true
Size: 319 Bytes
Versions: 15
Compression:
Stored size: 319 Bytes
Contents
module Acfs::Model module Attributes # String attribute type. Use it in your model as an attribute type: # # class User # include Acfs::Model # attribute :name, :string # end # module String # :nodoc: def self.cast(obj) obj.to_s end end end end
Version data entries
15 entries across 15 versions & 1 rubygems