Sha256: 9b3e49dce89817d0aa349335a2a203a9902fd539dedf33043971204128be3838
Contents?: true
Size: 524 Bytes
Versions: 4
Compression:
Stored size: 524 Bytes
Contents
module Tap::Generator::Generators # :startdoc::generator a new tap command # # Generates a new tap command under the cmd directory. The # new command can be run from the command line using: # # % tap <command> # class Command < Tap::Generator::Base def manifest(m, command_name) m.directory path('cmd') template_files do |source, target| m.template path('cmd', "#{command_name}.rb"), source, :command_name => command_name end end end end
Version data entries
4 entries across 4 versions & 1 rubygems