Sha256: 321b9022a15f3e9277c258420ac91bce2d86d515b04c673fd3dabe630bc34be6

Contents?: true

Size: 310 Bytes

Versions: 1

Compression:

Stored size: 310 Bytes

Contents

require "thor/group"
require "thor/actions"

module Gator
  class Task < Thor::Group
    include Thor::Actions
    def self.register_task( target, name, usage, description, mappings=[], options={} )
      target.register self, name, usage,description,options
      target.map mappings => name
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gator-0.0.13.pre lib/gator/task.rb