# frozen_string_literal: true module RuboCop module RSpec # Wrapper for RSpec DSL methods class Concept include Language, Language::NodePattern extend NodePattern::Macros def initialize(node) @node = node end def eql?(other) node.eql?(other.node) end alias == eql? def hash [self.class, node].hash end def to_node node end protected attr_reader :node end end end