Sha256: 83f6705933a2f675f3eb3ea1dc88c0d0dcb4fae869ca2150b2caa27820b82d63

Contents?: true

Size: 444 Bytes

Versions: 8

Compression:

Stored size: 444 Bytes

Contents

# encoding: UTF-8

module Kafo
  module HelpBuilders
    class Advanced < Base
      def add_module(name, items)
        data = by_parameter_groups(items)
        if data.keys.size > 1
          line module_header(name + ':')
          data.keys.each do |group|
            add_list(header(2, group), data[group])
          end
        else
          add_list(module_header(name), data[data.keys.first])
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
kafo-7.6.0 lib/kafo/help_builders/advanced.rb
kafo-7.5.1 lib/kafo/help_builders/advanced.rb
kafo-7.5.0 lib/kafo/help_builders/advanced.rb
kafo-7.4.0 lib/kafo/help_builders/advanced.rb
kafo-7.3.0 lib/kafo/help_builders/advanced.rb
kafo-7.2.0 lib/kafo/help_builders/advanced.rb
kafo-7.1.0 lib/kafo/help_builders/advanced.rb
kafo-7.0.0 lib/kafo/help_builders/advanced.rb