Method: OptionalOptions#desc_opt
- Defined in:
- lib/gitarro/opt_parser.rb
#desc_opt(opt) ⇒ Object
50 51 52 53 54 |
# File 'lib/gitarro/opt_parser.rb', line 50 def desc_opt(opt) opt.on('-d', "--description 'DESCRIPTION'", 'Test decription') do |d| @options[:description] = d end end |