X7ROOT File Manager
Current Path:
/opt/alt/ruby18/share/ri/1.8/system/PrettyPrint
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
PrettyPrint
/
ðŸ“
..
ðŸ“
Breakable
ðŸ“
Group
ðŸ“
GroupQueue
ðŸ“
SingleLine
ðŸ“
Text
📄
break_outmost_groups-i.yaml
(199 B)
📄
breakable-i.yaml
(672 B)
📄
cdesc-PrettyPrint.yaml
(3.13 KB)
📄
current_group-i.yaml
(185 B)
📄
fill_breakable-i.yaml
(212 B)
📄
first%3f-i.yaml
(657 B)
📄
flush-i.yaml
(228 B)
📄
format-c.yaml
(500 B)
📄
group-i.yaml
(765 B)
📄
group_sub-i.yaml
(188 B)
📄
nest-i.yaml
(313 B)
📄
new-c.yaml
(1.11 KB)
📄
singleline_format-c.yaml
(628 B)
📄
text-i.yaml
(385 B)
Editing: first%3f-i.yaml
--- !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
Upload File
Create Folder