class RuboCop::RSpec::Language::SelectorSet

Set of method selectors

def +(other)

def +(other)
  self.class.new(selectors + other.selectors)
end

def ==(other)

def ==(other)
  selectors.eql?(other.selectors)
end

def include?(selector)

def include?(selector)
  selectors.include?(selector)
end

def initialize(selectors)

def initialize(selectors)
  @selectors = selectors
end

def to_node_pattern

def to_node_pattern
  selectors.map(&:inspect).join(' ')
end