Class: BinData::DelayedIoArgProcessor

Inherits:
BaseArgProcessor show all
Includes:
MultiFieldArgSeparator
Defined in:
lib/bindata/delayed_io.rb

Instance Method Summary collapse

Methods included from MultiFieldArgSeparator

#field_names_in_parameters?, #parameters_is_value?, #separate_args

Methods inherited from BaseArgProcessor

#extract_args, #separate_args

Instance Method Details

#sanitize_parameters!(obj_class, params) ⇒ Object



149
150
151
152
153
# File 'lib/bindata/delayed_io.rb', line 149

def sanitize_parameters!(obj_class, params)
  params.merge!(obj_class.dsl_params)
  params.must_be_integer(:read_abs_offset)
  params.sanitize_object_prototype(:type)
end