Class: BinData::BufferArgProcessor
- Inherits:
-
BaseArgProcessor
- Object
- BaseArgProcessor
- BinData::BufferArgProcessor
- Includes:
- MultiFieldArgSeparator
- Defined in:
- lib/bindata/buffer.rb
Instance Method Summary collapse
Methods included from MultiFieldArgSeparator
#field_names_in_parameters?, #parameters_is_value?, #separate_args
Methods inherited from BaseArgProcessor
Instance Method Details
#sanitize_parameters!(obj_class, params) ⇒ Object
111 112 113 114 115 |
# File 'lib/bindata/buffer.rb', line 111 def sanitize_parameters!(obj_class, params) params.merge!(obj_class.dsl_params) params.must_be_integer(:length) params.sanitize_object_prototype(:type) end |