Sha256: c123c75efff47d7ac31491d8205e139164602e548851dde8c05d2f6efd66f217
Contents?: true
Size: 514 Bytes
Versions: 1
Compression:
Stored size: 514 Bytes
Contents
module Quickl # Instance method for being a single command module Command::Single # Run the command by delegation def run(argv = [], requester = nil) @requester = requester execute(parse_options(argv)) end end # module Command::Single # # Create a single command # def self.Command(*args) command_builder do |b| b.document(*args) b.instance_module(Command::Single) yield(b) if block_given? end Command end end # module Quickl
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
quickl-0.3.0 | lib/quickl/command/single.rb |