Module: Gadfly::Helpers
- Defined in:
- lib/gadfly.rb
Class Method Summary collapse
Class Method Details
.command?(command) ⇒ Boolean
5 6 7 |
# File 'lib/gadfly.rb', line 5 def self.command?(command) system("which #{command} > /dev/null 2>&1") end |