123456789_123456789_123456789_123456789_123456789_

Class: RDoc::Markup::AttrChanger

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Struct
Instance Chain:
self, Struct
Inherits: Struct
  • Object
Defined in: lib/rdoc/markup/attr_changer.rb,
lib/rdoc/markup/attr_changer.rb

Overview

An AttrChanger records a change in attributes. It contains a bitmap of the attributes to turn on, and a bitmap of those to turn off.

Instance Attribute Summary

Instance Method Summary

Instance Attribute Details

#turn_off (rw)

[ GitHub ]

#turn_on (rw)

[ GitHub ]

Instance Method Details

#inspect

[ GitHub ]

  
# File 'lib/rdoc/markup/attr_changer.rb', line 18

def inspect # :nodoc:
  '+%d/-%d' % [turn_on, turn_off]
end

#to_s

[ GitHub ]

  
# File 'lib/rdoc/markup/attr_changer.rb', line 14

def to_s # :nodoc:
  "Attr: +#{turn_on}/-#{turn_off}"
end