lib/rabbit/parser/rd.rb in rabbit-1.0.4 vs lib/rabbit/parser/rd.rb in rabbit-1.0.5
- old
+ new
@@ -15,9 +15,10 @@
module Parser
class RD
push_loader(self)
class << self
def match?(source)
+ return true if /\A(?:rd|rab)\z/i =~ source.extension.to_s
/^= /.match(source.read)
end
end
def parse