1
0
mirror of https://github.com/meineerde/rackstash.git synced 2026-02-11 13:05:19 +00:00

4 Commits

Author SHA1 Message Date
0292a7eacb Resolve class ambiguity in Hash and Array constructors 2017-02-02 23:03:53 +01:00
94298fbbfd Add descriptions for subscript operators to Fields::Hash 2017-02-02 23:03:53 +01:00
b91a31335a Add empty? predicate to Fields::Array 2017-02-02 23:03:53 +01:00
407b52120a Add basic fields to hold additional data on Buffers
The fields follow the basic structure of basic Hashes and Arrays but
provide an interface better suitable for us. Specifically:

* They check and enforce the datatypes for keys and values to be
  strictly JSON-conforming. Only the basic data-types are accepted
  respectively converted to.
* Hashes only accept String keys.
* Basic values are always frozen.
2017-02-02 15:04:02 +01:00