PHP 8.2.31
Preview: cdesc-AttributeFormatter.yaml Size: 1.05 KB
/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/RI/AttributeFormatter/cdesc-AttributeFormatter.yaml

--- !ruby/object:RI::ClassDescription 
attributes: []

class_methods: []

comment: 
- !ruby/struct:SM::Flow::P 
  body: "Handle text with attributes. We're a base class: there are different presentation classes (one, for example, uses overstrikes to handle bold and underlining, while another using ANSI escape sequences"
constants: 
- !ruby/object:RI::Constant 
  comment: 
  name: BOLD
  value: "1"
- !ruby/object:RI::Constant 
  comment: 
  name: ITALIC
  value: "2"
- !ruby/object:RI::Constant 
  comment: 
  name: CODE
  value: "4"
- !ruby/object:RI::Constant 
  comment: 
  name: ATTR_MAP
  value: "{       \"b\"    => BOLD,       \"code\" => CODE,       \"em\"   => ITALIC,       \"i\"    => ITALIC,       \"tt\"   => CODE"
full_name: RI::AttributeFormatter
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: add_attributes_to
- !ruby/object:RI::MethodSummary 
  name: bold_print
- !ruby/object:RI::MethodSummary 
  name: wrap
- !ruby/object:RI::MethodSummary 
  name: write_attribute_text
name: AttributeFormatter
superclass: TextFormatter

Directory Contents

Dirs: 2 × Files: 5

Name Size Perms Modified Actions
AttrChar DIR
- drwxr-xr-x 2024-03-03 22:50:13
Edit Download
- drwxr-xr-x 2024-03-03 22:50:13
Edit Download
208 B lrw-r--r-- 2023-07-26 13:47:57
Edit Download
250 B lrw-r--r-- 2023-07-26 13:47:57
Edit Download
1.05 KB lrw-r--r-- 2023-07-26 13:47:57
Edit Download
396 B lrw-r--r-- 2023-07-26 13:47:57
Edit Download
295 B lrw-r--r-- 2023-07-26 13:47:57
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).