Class: Honk::Task

Inherits:
Rake::TaskLib
  • Object
show all
Defined in:
lib/honk/tasks.rb

Instance Method Summary collapse

Constructor Details

#initializeTask

Returns a new instance of Task.



7
8
9
10
11
12
13
14
15
16
# File 'lib/honk/tasks.rb', line 7

def initialize
  desc "Honk!"
  task :honk do
    Honk.()
  end

  desc "Throw the rake in the lake"
  task lake: :honk do
  end
end