Object
frozen_string_literal: true
Hold details of a regexp handling sequence
Regexp handling text
Regexp handling type
Creates a new regexp handling sequence of type with text
type
text
# File rdoc/markup/regexp_handling.rb, line 20 def initialize(type, text) @type, @text = type, text end
Regexp handlings are equal when the have the same text and type
# File rdoc/markup/regexp_handling.rb, line 27 def ==(o) self.text == o.text && self.type == o.type end
This page was generated for Ruby 2.7.2
Generated with Ruby-doc Rdoc Generator 0.44.2.