File: README — Documentation for rush (0.6.8)
www.rubydoc.info
"Count the number of classes in your project using bash: find myproj -name \*.rb | xargs grep '^\s*class' | wc -l In rush, this is: myproj['**/*.rb'].search(/^\s*class/).lines.size Pesky stray mongrels? In bash: kill `ps aux | grep mongrel_rails | grep -v grep | cut -c 10-20` In rush: processes.filter(:cmdline => /mongrel_rails/).kill"
#ruby #gems #cli #shell #examples #dev #pub
Collect and share the web
Get started for free