All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- use
each
to avoid allocating an unused array
- member methods take precedence over methods defined in the block passed to
define
- loading from
Marshal.load
will create a frozen object dup
will return a frozen objectdefine
cannot be used on Data subclasseswith
returnsself
when given no arguments
new
correctly raises ArugmentErrors with incorrect arguments on Data subclasses
- freeze after initializing
to_a
removeddeconstruct
fixed to return array in order of members as defined
define
uses the first argument as a constant name if it is a string[]
class method as an alias tonew
to_s
method as an alias toinspect
deconstruct
method
initialize
only receives keyword argumentsinspect
includes comma separated list of members and values
- Initial implementation