module GitHub::Markup
def command(command, regexp, name, &block)
def command(command, regexp, name, &block) if File.exist?(file = File.dirname(__FILE__) + "/commands/#{command}") command = file end markups << CommandImplementation.new(regexp, command, name, &block) end