Class: BinData::PrimitiveArgProcessor

Inherits:
BaseArgProcessor show all
Defined in:
lib/bindata/primitive.rb

Instance Method Summary collapse

Methods inherited from BaseArgProcessor

#extract_args, #separate_args

Instance Method Details

#sanitize_parameters!(obj_class, params) ⇒ Object



139
140
141
# File 'lib/bindata/primitive.rb', line 139

def sanitize_parameters!(obj_class, params)
  params[:struct_params] = params.create_sanitized_params(obj_class.dsl_params, BinData::Struct)
end