Public Notes by chase_ats Tagged #pry
Notes publicly shared by our members.
"DSL to make shell operations easier within a ruby program. Mainly intended for use via IRB. I would like to be able to use Pry, but Pry's builtin commands interfere with simple use of the DSL. Note: You can still use this with pry - just not from the default namespace. You'd need to include the DSL in a module, and then invoke the DSL methods on the module." " Usage irb> require 'rubygems' irb> require 'rubyshell' irb> do stuff! Supported commands: ls cd pushd popd mkdir rm rmdir rmdir_force touch cat" #Ruby #gems #irb #cli #pry #DSLs #pub