Class: OptionParser::List

Inherits:
Object
  • Object
show all
Defined in:
lib/rabbit/console/roff.rb

Instance Method Summary collapse

Instance Method Details

#summarize_as_roff(&block) ⇒ Object


40
41
42
43
44
45
46
47
# File 'lib/rabbit/console/roff.rb', line 40

def summarize_as_roff(&block)
  list.each do |opt|
    if opt.respond_to?(:summarize_as_roff)
      opt.summarize_as_roff(&block)
    end
    # FIXME: and otherwise process separators and banners...
  end
end