-
Notifications
You must be signed in to change notification settings - Fork 12
Types
A Toystore type is anything with to_store and from_store class methods (also optionally a store_default). Included with Toystore are several types (listed in "lib/toy/extensions":https://github.com/newtoy/toystore/tree/master/lib/toy/extensions): "array":https://github.com/newtoy/toystore/tree/master/lib/toy/extensions/array.rb, "boolean":https://github.com/newtoy/toystore/tree/master/lib/toy/extensions/boolean.rb, "date":https://github.com/newtoy/toystore/tree/master/lib/toy/extensions/date.rb, "float":https://github.com/newtoy/toystore/tree/master/lib/toy/extensions/float.rb, "hash":https://github.com/newtoy/toystore/tree/master/lib/toy/extensions/hash.rb, "integer":https://github.com/newtoy/toystore/tree/master/lib/toy/extensions/integer.rb, "nil":https://github.com/newtoy/toystore/tree/master/lib/toy/extensions/nil_class.rb, "object":https://github.com/newtoy/toystore/tree/master/lib/toy/extensions/object.rb, "set":https://github.com/newtoy/toystore/tree/master/lib/toy/extensions/set.rb, "string":https://github.com/newtoy/toystore/tree/master/lib/toy/extensions/string.rb, and "time":https://github.com/newtoy/toystore/tree/master/lib/toy/extensions/time.rb.