Sha256: 18258ee895daaaf5a07b93fa68a6e38eee7f2a79e0f54534472c22fd09be5766

Contents?: true

Size: 320 Bytes

Versions: 1

Compression:

Stored size: 320 Bytes

Contents

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

module Gator
  class Generator < Thor::Group
    include Thor::Actions
    def self.register_generator( 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.12.pre lib/gator/generator.rb