Skip to content

Instantly share code, notes, and snippets.

@jwoertink
Created June 9, 2011 18:02
Show Gist options
  • Select an option

  • Save jwoertink/1017319 to your computer and use it in GitHub Desktop.

Select an option

Save jwoertink/1017319 to your computer and use it in GitHub Desktop.
module Bootcamp
class Depot < Thor
include Thor::Actions
module Tasks
def self.included(base)
base.extend ClassMethods
end
module ClassMethods
def talk(message, color)
say(message, color) # this is a thor task. it should be available, right?
end
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment