PATH:
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
PrettyPrint
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: first? is a predicate to test the call is a first call to first? with current group. - !ruby/struct:SM::Flow::P body: "It is useful to format comma separated values as:" - !ruby/struct:SM::Flow::VERB body: " q.group(1, '[', ']') {\n xxx.each {|yyy|\n unless q.first?\n q.text ','\n q.breakable\n end\n ... pretty printing yyy ...\n }\n }\n" - !ruby/struct:SM::Flow::P body: first? is obsoleted in 1.8.2. full_name: PrettyPrint#first? is_singleton: false name: first? params: () visibility: public
[-] group-i.yaml
[edit]
[+]
GroupQueue
[-] current_group-i.yaml
[edit]
[-] breakable-i.yaml
[edit]
[-] format-c.yaml
[edit]
[+]
Group
[-] nest-i.yaml
[edit]
[-] fill_breakable-i.yaml
[edit]
[-] group_sub-i.yaml
[edit]
[-] text-i.yaml
[edit]
[-] break_outmost_groups-i.yaml
[edit]
[+]
SingleLine
[-] cdesc-PrettyPrint.yaml
[edit]
[+]
Text
[+]
Breakable
[+]
..
[-] first%3f-i.yaml
[edit]
[-] flush-i.yaml
[edit]
[-] new-c.yaml
[edit]
[-] singleline_format-c.yaml
[edit]