| Server IP : 170.10.162.208 / Your IP : 216.73.216.38 Web Server : LiteSpeed System : Linux altar19.supremepanel19.com 4.18.0-553.69.1.lve.el8.x86_64 #1 SMP Wed Aug 13 19:53:59 UTC 2025 x86_64 User : deltahospital ( 1806) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/ruby18/share/ri/1.8/system/RI/AttributeFormatter/ |
Upload File : |
--- !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