Module: GrowlGlue::Commands
- Extended by:
- Util
- Defined in:
- lib/growl_glue/commands.rb
Instance Method Summary collapse
Methods included from Util
Instance Method Details
#with_commands ⇒ Object
5 6 7 8 9 10 |
# File 'lib/growl_glue/commands.rb', line 5 def with_commands with([]) do |commands| yield commands commands.compact.each { |command| system(command) } end end |