Sha256: 1f275ca9bdcd629138c0d6f53965e2585a3d541af62569686b5db8b5432191f0
Contents?: true
Size: 507 Bytes
Versions: 44
Compression:
Stored size: 507 Bytes
Contents
# frozen_string_literal: true module RuboCop module RSpec # Wrapper for RSpec DSL methods class Concept include Language include Language::NodePattern extend NodePattern::Macros def initialize(node) @node = node end def eql?(other) node == other.node end alias == eql? def hash [self.class, node].hash end def to_node node end protected attr_reader :node end end end
Version data entries
44 entries across 44 versions & 1 rubygems