Created
March 11, 2013 02:11
-
-
Save bluemont/5131477 to your computer and use it in GitHub Desktop.
Test code related to: * https://github.com/rails/rails/pull/9177 * http://stackoverflow.com/questions/8342963/rake-task-variable/15330167#15330167
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :x do | |
@folders = %w(a b c) | |
desc "Run" | |
task :run do | |
puts @folders | |
end | |
end | |
namespace :x do | |
@folders += %w(d) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment