Class: Chester::Command::Brew
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Methods included from Helpers
#home_directory, #running_on_a_mac?, #running_on_windows?
Constructor Details
This class inherits a constructor from Chester::Command::Base
Instance Method Details
#index ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/chester/commands/brew.rb', line 3 def index display "Start Brewing" Dir.glob("#{FileUtils.pwd}/**/*.coffee").each do |f| system "coffee -c #{f}" display "Brewed #{f}..." end display "Finished Brewing...." end |