# File lib/kafo/help_builders/base.rb, line 11 def initialize(params) super() @params = params end
# File lib/kafo/help_builders/base.rb, line 16 def add_list(heading, items) if heading == 'Options' puts "\n#{heading}:" data = by_module(items) sorted_keys(data).each do |section| if section == 'Generic' add_list(header(1, section), data[section]) else add_module(section, data[section]) end end else super end end