# File lib/nanite/packets.rb, line 32 def id_to_s(id) case id when /^mapper-/ then 'mapper' when /^nanite-(.*)/ then Regexp.last_match(1) else id end end