# File lib/ttfunk/table/post.rb, line 18 def self.encode(post, mapping) return nil unless post.exists? post.recode(mapping) end