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
189 190 191 192 193 |
# File 'lib/bindata/buffer.rb', line 189 def sanitize_parameters!(obj_class, params) params.merge!(obj_class.dsl_params) params.must_be_integer(:length) params.sanitize_object_prototype(:type) end |