# File lib/rabbit/parser/wiki.rb, line 19 def match?(source) extension = source.extension if extension.nil? head = source.read[0, 500] if head.respond_to?(:force_encoding) head.force_encoding("ASCII-8BIT") end /^!/.match(head) else /\A(?:hiki|wiki)\z/ =~ extension end end
Generated with the Darkfish Rdoc Generator 2.