$82 GRAYBYTE WORDPRESS FILE MANAGER $30

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.23
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/ruby18/share/ri/1.8/system/PrettyPrint/

HOME
Current File : /opt/alt/ruby18/share/ri/1.8/system/PrettyPrint//cdesc-PrettyPrint.yaml
--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  name: genspace
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  name: group_queue
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  name: indent
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  name: maxwidth
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  name: newline
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  name: output
  rw: R
class_methods: 
- !ruby/object:RI::MethodSummary 
  name: format
- !ruby/object:RI::MethodSummary 
  name: new
- !ruby/object:RI::MethodSummary 
  name: singleline_format
comment: 
- !ruby/struct:SM::Flow::P 
  body: This class implements a pretty printing algorithm. It finds line breaks and nice indentations for grouped structure.
- !ruby/struct:SM::Flow::P 
  body: "By default, the class assumes that primitive elements are strings and each byte in the strings have single column in width. But it can be used for other situations by giving suitable arguments for some methods:"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: newline object and space generation block for PrettyPrint.new
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: optional width argument for PrettyPrint#text
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: PrettyPrint#breakable
  type: :BULLET
- !ruby/struct:SM::Flow::P 
  body: "There are several candidate uses:"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: text formatting using proportional fonts
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: multibyte characters which has columns different to number of bytes
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: non-string formatting
  type: :BULLET
- !ruby/struct:SM::Flow::H 
  level: 2
  text: Bugs
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Box based formatting?
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Other (better) model/algorithm?
  type: :BULLET
- !ruby/struct:SM::Flow::H 
  level: 2
  text: References
- !ruby/struct:SM::Flow::P 
  body: Christian Lindig, Strictly Pretty, March 2000, http://www.st.cs.uni-sb.de/~lindig/papers/#pretty
- !ruby/struct:SM::Flow::P 
  body: Philip Wadler, A prettier printer, March 1998, http://homepages.inf.ed.ac.uk/wadler/topics/language-design.html#prettier
- !ruby/struct:SM::Flow::H 
  level: 2
  text: Author
- !ruby/struct:SM::Flow::P 
  body: Tanaka Akira <[email protected]>
constants: []

full_name: PrettyPrint
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: break_outmost_groups
- !ruby/object:RI::MethodSummary 
  name: breakable
- !ruby/object:RI::MethodSummary 
  name: current_group
- !ruby/object:RI::MethodSummary 
  name: fill_breakable
- !ruby/object:RI::MethodSummary 
  name: first?
- !ruby/object:RI::MethodSummary 
  name: flush
- !ruby/object:RI::MethodSummary 
  name: group
- !ruby/object:RI::MethodSummary 
  name: group_sub
- !ruby/object:RI::MethodSummary 
  name: nest
- !ruby/object:RI::MethodSummary 
  name: text
name: PrettyPrint
superclass: Object


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.50 PM
root / linksafe
0755
Breakable
--
3 Mar 2024 10.50 PM
root / linksafe
0755
Group
--
3 Mar 2024 10.50 PM
root / linksafe
0755
GroupQueue
--
3 Mar 2024 10.50 PM
root / linksafe
0755
SingleLine
--
3 Mar 2024 10.50 PM
root / linksafe
0755
Text
--
3 Mar 2024 10.50 PM
root / linksafe
0755
break_outmost_groups-i.yaml
0.194 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
breakable-i.yaml
0.656 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
cdesc-PrettyPrint.yaml
3.125 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
current_group-i.yaml
0.181 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
fill_breakable-i.yaml
0.207 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
first%3f-i.yaml
0.642 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
flush-i.yaml
0.223 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
format-c.yaml
0.488 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
group-i.yaml
0.747 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
group_sub-i.yaml
0.184 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
nest-i.yaml
0.306 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
new-c.yaml
1.107 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
singleline_format-c.yaml
0.613 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
text-i.yaml
0.376 KB
26 Jul 2023 1.47 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF