lib/bindata/sanitize.rb
# Converts +type+ into the appropriate class.
Converts +type+ into the appropriate class.
Converts + type + into the appropriate class .
def lookup_klass(type)
      klass = self.class.lookup(type, @endian)
      raise TypeError, "unknown type '#{type}'" if klass.nil?
      klass
    end
def lookup_klass ( type ) klass = self . class . lookup ( type , @endian ) raise TypeError , "unknown type '#{type}'" if klass . nil? klass end
Converts +type+ into the appropriate class.
Converts + type + into the appropriate class .
type
<not_specific>