Sha256: cf519b02b9eb87ec9997fd9076ec9b85e148415ee61a31597a9be9a73dfad359
Contents?: true
Size: 293 Bytes
Versions: 2
Compression:
Stored size: 293 Bytes
Contents
module Balancer class Sub < Command desc "goodbye NAME", "say goodbye to NAME" long_desc Help.text("sub:goodbye") option :from, desc: "from person" def goodbye(name="you") puts "from: #{options[:from]}" if options[:from] puts "Goodbye #{name}" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
balancer-0.2.0 | lib/balancer/sub.rb |
balancer-0.1.0 | lib/balancer/sub.rb |