Sha256: b4724dd7b4946f1dacd8c29df64f5b0631e72374586bdcdebc48f5b3b30e49ca
Contents?: true
Size: 495 Bytes
Versions: 25
Compression:
Stored size: 495 Bytes
Contents
require 'bindata/dsl' require 'bindata/struct' module BinData # A Record is a declarative wrapper around Struct. # # See +Struct+ for more info. class Record < BinData::Struct extend DSLMixin unregister_self dsl_parser :struct arg_processor :record end class RecordArgProcessor < StructArgProcessor include MultiFieldArgSeparator def sanitize_parameters!(obj_class, params) super(obj_class, params.merge!(obj_class.dsl_params)) end end end
Version data entries
25 entries across 25 versions & 1 rubygems
Version | Path |
---|---|
bindata-2.3.2 | lib/bindata/record.rb |
bindata-2.3.1 | lib/bindata/record.rb |
bindata-2.3.0 | lib/bindata/record.rb |
bindata-2.2.0 | lib/bindata/record.rb |
bindata-2.1.0 | lib/bindata/record.rb |