# File lib/ftools.rb, line 44 def catname(from, to) if directory? to join to.sub(%r([/\\]$), ''), basename(from) else to end end