class Noir::Command::Format::LGTM
Public Class Methods
execute(*args)
click to toggle source
# File lib/noir/command/format/lgtm.rb, line 6 def self.execute *args raise 'URL Missing. Please input a link in argument.'if args.empty? url = args.first if URI.regexp.match(url) puts "[](#{url})" else puts "Argument '#{url}' is not URL." end end