# File lib/github/markup.rb, line 41 def can_render?(filename) !!renderer(filename) end
# File lib/github/markup.rb, line 33 def command(command, regexp, &block) if File.exists?(file = File.dirname(__FILE__) + "/commands/#{command}") command = file end markups << CommandImplementation.new(regexp, command, &block) end
# File lib/github/markup.rb, line 29 def markup(file, pattern, opts = {}, &block) markups << GemImplementation.new(pattern, file, &block) end
# File lib/github/markup.rb, line 13 def preload! markups.each do |markup| markup.load end end
Generated with the Darkfish Rdoc Generator 2.