# File lib/nanoc/base/compilation/filter.rb, line 60 def type(arg) if arg.is_a?(Hash) @from, @to = arg.keys[0], arg.values[0] else @from, @to = arg, arg end end