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