# File lib/bindata/sanitize.rb, line 127 def initialize(choices, endian) @choices = {} choices.each_pair do |key, val| if SanitizedParameter === val prototype = val else type, param = val prototype = SanitizedPrototype.new(type, param, endian) end if key == :default @choices.default = prototype else @choices[key] = prototype end end end
Generated with the Darkfish Rdoc Generator 2.