Sha256: ea0680bad2083b1c18d0b982c7864d63b709633dee025d2781bee99ffeb0ac25
Contents?: true
Size: 344 Bytes
Versions: 1
Compression:
Stored size: 344 Bytes
Contents
require "thor/group" require "thor/actions" module Gator class Task < Thor::Group 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gator-0.0.14.pre | lib/gator/task.rb |