Sha256: 91071d8c0f4651b4b987ece4b01cca3dc661ea42d89b54bea3037e8d9b5c4699
Contents?: true
Size: 247 Bytes
Versions: 1
Compression:
Stored size: 247 Bytes
Contents
module DataMapper class Property class ParseFile < Object def dump(value) value && {"__type" => "File", "name" => value.to_s} end def load(value) value && value["name"].to_s end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dm-parse-0.2.0 | lib/property/parse_file.rb |