Sha256: 0d0129134acfdca47f72ac941bd2279ab74489bbf34710a45c199c7cc182413a
Contents?: true
Size: 682 Bytes
Versions: 3
Compression:
Stored size: 682 Bytes
Contents
# encoding: utf-8 require File.join(File.dirname(__FILE__), 'string') require 'optparse' module CSD module Extensions module Core module OptionParser def newline separator '' end def headline(text) newline separator(text) end def subheadline(text) separator(@summary_indent + text) end def list_item(item='', description='', &block) separator(summary_indent + item.ljust(summary_width + 1) + description) end end end end end class OptionParser #:nodoc: include CSD::Extensions::Core::OptionParser end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
csd-0.1.5 | lib/csd/extensions/core/option_parser.rb |
csd-0.1.4 | lib/csd/extensions/core/option_parser.rb |
csd-0.1.3 | lib/csd/extensions/core/option_parser.rb |