Sha256: b40c7c5dd8acb460424c0f5dc71e4c36e71deb103b9592dfdf5986872851d6de
Contents?: true
Size: 509 Bytes
Versions: 1
Compression:
Stored size: 509 Bytes
Contents
module Quickl # Instance method for being a single command module Command::Single # Command arguments after options parsing attr_reader :args # Run the command by delegation def _run(argv = []) execute(parse_options(argv)) end end # module Command::Delegate # # Create a delegate command # def self.Command(*args) command_builder do |b| b.document *args b.instance_module Command::Single end Command end end # module Quickl
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
quickl-0.1.1 | lib/quickl/command/single.rb |