Sha256: 13a72845168bf8785f3d9a849d9689cdf64e10cc37bba38164b4a7761a4922b5
Contents?: true
Size: 569 Bytes
Versions: 14
Compression:
Stored size: 569 Bytes
Contents
# encoding: UTF-8 module Kafo module HelpBuilders class Basic < Base def add_module(name, items) data = by_parameter_groups(except_resets(items)) add_list(module_header(name), data['Basic']) end def string super + "\nOnly commonly used options have been displayed.\nUse --full-help to view the complete list." end private def except_resets(items) items.select { |i| !i.help.first.strip.start_with?('--reset-') || !i.help.last.include?('to the default value (') } end end end end
Version data entries
14 entries across 14 versions & 1 rubygems