Sha256: c5d73acd1bcda6d8372bd5d32b95323490d757294169b0d2d9fca3ca92ea4df0
Contents?: true
Size: 434 Bytes
Versions: 16
Compression:
Stored size: 434 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 private def except_resets(items) items.select { |i| !i.help.first.strip.start_with?('--reset-') || !i.help.last.strip.end_with?('to the default value') } end end end end
Version data entries
16 entries across 16 versions & 1 rubygems