APIdock / Ruby
/
method

on_head

ruby latest stable - Class: OptionParser
on_head(*opts, &block)
public

Add option switch like with #on, but at head of summary.

# File lib/optparse.rb, line 1488
 def on_head(*opts, &block)
 define_head(*opts, &block)
 self
 end

AltStyle によって変換されたページ (->オリジナル) /