class Ronin::CLI::Commands::New::Script
Creates a new standalone Ruby script.
## Usage
ronin new script PATH
## Arguments
PATH The script file to create
Public Instance Methods
run(path)
click to toggle source
Runs the ‘ronin new script` command.
@param [String] path
The path to the new script file to create.
# File lib/ronin/cli/commands/new/script.rb, line 59 def run(path) erb 'script.rb.erb', path chmod '+x', path end