Created
May 30, 2015 10:24
-
-
Save joaquimadraz/2c3b2312e75b9897c0fd to your computer and use it in GitHub Desktop.
internal_task.rb
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
require 'internal_task/version' | |
module InternalTask | |
extend Rake::DSL | |
namespace :internal_task do | |
desc 'Say hello' | |
task :hello do | |
helper = Helper.new | |
helper.puts_hello | |
end | |
end | |
class Helper | |
def puts_hello | |
puts 'hello!' | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment