class RuboCop::EightyFourCodes::Concept
Wrapper for RSpec DSL methods
Attributes
node[R]
Public Class Methods
new(node)
click to toggle source
# File lib/rubocop/eighty_four_codes/concept.rb, line 11 def initialize(node) @node = node end
Public Instance Methods
eql?(other)
click to toggle source
# File lib/rubocop/eighty_four_codes/concept.rb, line 15 def eql?(other) node == other.node end
Also aliased as: ==
hash()
click to toggle source
# File lib/rubocop/eighty_four_codes/concept.rb, line 21 def hash [self.class, node].hash end
to_node()
click to toggle source
# File lib/rubocop/eighty_four_codes/concept.rb, line 25 def to_node node end