# File lib/rudy/utils.rb, line 126 126: def id_type(str) 127: return false unless str 128: str &&= str.to_s.strip 129: (Rudy::ID_MAP.detect { |n,v| v == str.split('-').first } || []).first 130: end