Sha256: 2f2f83887a60223a2358deba1526a9dc331f033f8e6ed55d1a82508d9b3aff7a

Contents?: true

Size: 423 Bytes

Versions: 19

Compression:

Stored size: 423 Bytes

Contents

# frozen_string_literal: true
class RDoc::Markup

  AttrChanger = Struct.new :turn_on, :turn_off # :nodoc:

end

##
# 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.

class RDoc::Markup::AttrChanger

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

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

end

Version data entries

19 entries across 17 versions & 7 rubygems

Version Path
rdoc-6.12.0 lib/rdoc/markup/attr_changer.rb
tailscale_middleware-0.0.3 vendor/cache/ruby/3.4.0/gems/rdoc-6.11.0/lib/rdoc/markup/attr_changer.rb
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/rdoc-6.10.0/lib/rdoc/markup/attr_changer.rb
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.1.0/gems/rdoc-6.7.0/lib/rdoc/markup/attr_changer.rb
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/rdoc-6.8.1/lib/rdoc/markup/attr_changer.rb
rdoc-6.11.0 lib/rdoc/markup/attr_changer.rb
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/rdoc-6.7.0/lib/rdoc/markup/attr_changer.rb
rdoc-6.10.0 lib/rdoc/markup/attr_changer.rb
rdoc-6.9.1 lib/rdoc/markup/attr_changer.rb
rdoc-6.9.0 lib/rdoc/markup/attr_changer.rb
rdoc-6.8.1 lib/rdoc/markup/attr_changer.rb
rdoc-6.8.0 lib/rdoc/markup/attr_changer.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/rdoc-6.7.0/lib/rdoc/markup/attr_changer.rb
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/rdoc-6.7.0/lib/rdoc/markup/attr_changer.rb
rdoc-6.6.3.1 lib/rdoc/markup/attr_changer.rb
rdoc-6.6.2 lib/rdoc/markup/attr_changer.rb
rdoc-6.6.1 lib/rdoc/markup/attr_changer.rb
honeybadger-5.4.0 vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/attr_changer.rb
rdoc-6.6.0 lib/rdoc/markup/attr_changer.rb