# File lib/github/markup.rb, line 72 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