class CogCmd::Swat::Strike
Cog Command that loads and executes the given script
Public Instance Methods
run_command()
click to toggle source
# File lib/cog_cmd/swat/strike.rb, line 11 def run_command rails = ::Swat::RailsLoader.new response.template = "execution_result" response.content = rails.run("execute #{request.args.join(' ')}") end