lib/livetext/errors.rb in livetext-0.9.25 vs lib/livetext/errors.rb in livetext-0.9.26

- old
+ new

@@ -11,5 +11,8 @@ args.each.with_index {|arg, i| msg.sub!("%#{i+1}", arg.to_s) } target_class.class_eval(klass.to_s).new(msg) end end +make_exception(:EndWithoutOpening, "Error: found .end with no opening command") +make_exception(:UnknownMethod, "Error: name '%1' is unknown") +