# File lib/github/markup/implementation.rb, line 6 def initialize(regexp) @regexp = regexp end
# File lib/github/markup/implementation.rb, line 10 def load # no-op by default end
# File lib/github/markup/implementation.rb, line 18 def match?(filename) file_ext_regexp =~ filename end
# File lib/github/markup/implementation.rb, line 14 def render(content) raise NotImplementedError, "subclasses of GitHub::Markup::Implementation must define #render" end