lib/grit_ext/tree.rb (8 lines of code) (raw):

module Grit class Tree alias_method :old_name, :name def name GritExt.encode! old_name end end end