class Mercenary::Command
Public Instance Methods
command(cmd_name) { |cmd| ... }
click to toggle source
# File lib/jekyll-livereload/serve.rb, line 6 def command(cmd_name) Jekyll.logger.debug "Refined Command" cmd = @commands[cmd_name] || Command.new(cmd_name, self) yield cmd @commands[cmd_name] = cmd end