X7ROOT File Manager
Current Path:
/opt/alt/ruby18/share/ri/1.8/system/OptionParser/Switch
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
OptionParser
/
Switch
/
ðŸ“
..
📄
cdesc-Switch.yaml
(1.2 KB)
📄
conv_arg-i.yaml
(392 B)
📄
guess-c.yaml
(334 B)
📄
incompatible_argument_styles-c.yaml
(230 B)
📄
new-c.yaml
(283 B)
📄
parse_arg-i.yaml
(424 B)
📄
pattern-c.yaml
(182 B)
📄
summarize-i.yaml
(1.11 KB)
Editing: summarize-i.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: (indent + l) comment: - !ruby/struct:SM::Flow::P body: Produces the summary text. Each line of the summary is yielded to the block (without newline). - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+sdone+:" body: Already summarized short style options keyed hash. - !ruby/struct:SM::Flow::LI label: "+ldone+:" body: Already summarized long style options keyed hash. - !ruby/struct:SM::Flow::LI label: "+width+:" body: Width of left side (option part). In other words, the right side (description part) starts after <tt>width</tt> columns. - !ruby/struct:SM::Flow::LI label: "+max+:" body: Maximum width of left side -> the options are filled within <tt>max</tt> columns. - !ruby/struct:SM::Flow::LI label: "+indent+:" body: Prefix string indents all summarized lines. type: :NOTE full_name: OptionParser::Switch#summarize is_singleton: false name: summarize params: (sdone = [], ldone = [], width = 1, max = width - 1, indent = "") {|indent + l| ...} visibility: public
Upload File
Create Folder