| Server IP : 109.234.162.214 / Your IP : 216.73.216.112 Web Server : Apache System : Linux servd162214.srv.odns.fr 4.18.0-372.26.1.lve.1.el8.x86_64 #1 SMP Fri Sep 16 14:08:19 EDT 2022 x86_64 User : carpe ( 1178) PHP Version : 8.0.30 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