lib/rabbit/parser/rd.rb in rabbit-2.1.6 vs lib/rabbit/parser/rd.rb in rabbit-2.1.7

- old
+ new

@@ -14,9 +14,13 @@ module Rabbit module Parser class RD push_loader(self) class << self + def format_name + "RD" + end + def match?(source) extension = source.extension if extension.nil? head = source.read[0, 500] if head.respond_to?(:force_encoding)