lib/gator/task.rb in gator-0.0.14.pre vs lib/gator/task.rb in gator-0.0.16.pre

- old
+ new

@@ -1,15 +1,9 @@ require "thor/group" require "thor/actions" module Gator class Task < Thor::Group + include ActAsCommand include Thor::Actions - - def self.define( definition ) - @definition = d = definition - d[:on].register self, d[:as], d[:usage], d[:description], d[:options] || {} - d[:on].map [ d[:short] ] => d[:as] unless d[:short].nil? - end - end end \ No newline at end of file