Sha256: e13b785bdb1db5b1ca7f8ce2ff36af27386ac15cd0e10f29e91a4090ba180f1a
Contents?: true
Size: 887 Bytes
Versions: 1
Compression:
Stored size: 887 Bytes
Contents
* Pass key/index as first block arg to :class and :extend class: |key, hsh| * Allow passing options to Binding#serialize. serialize(.., options{:exclude => ..}) document `XML::AttributeHash` etc * deprecate :from, make :a(lia)s authorative. * cleanup ReadableWriteable * deprecate Representable::*::ClassMethods (::from_hash and friends) * Song < OpenStruct in test_helper * have representable-options (:include, :exclude) and user-options * make all properties "Object-like", even arrays of strings etc. def compile_fragment(doc) module ReaderWriter def compile_fragment(doc) do whatever super end => do that for all "features" (what parts would that be?: getter/setter, reader/writer, readable/writeable )? * make lambda options optional (arity == 0) * use `representer_exec` not only for lambdas, but also for methods property :title # => calls decorator.title
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
representable-1.5.1 | TODO |