lib/direction.rb in direction-0.0.1 vs lib/direction.rb in direction-0.0.2

- old
+ new

@@ -18,14 +18,14 @@ method_defs = [] options.each_pair do |key, value| Array(key).map do |command_name| method_defs.unshift %{ def #{command_name}(*args, &block) - #{value}.__send__(:#{command_name}) + #{value}.__send__(:#{command_name}, *args, &block) self end } end end - self.class_eval method_defs.join(' ') + self.class_eval method_defs.join(' '), __FILE__, __LINE__ end end