lib/brakeman/processors/alias_processor.rb
#Return true if lhs == rhs or lhs is an or expression and
#rhs is one of its values
Return true if lhs == rhs or lhs is an or expression and
rhs is one of its values
Return true if lhs == rhs or lhs is an or expression and rhs is one of its values
def same_value? lhs, rhs
    if lhs == rhs
      true
    elsif node_type? lhs, :or
      lhs.rhs == rhs or lhs.lhs == rhs
    else
      false
    end
  end
def same_value? lhs , rhs if lhs == rhs true elsif node_type? lhs , :or lhs . rhs == rhs or lhs . lhs == rhs else false end end
Return true if lhs == rhs or lhs is an or expression and
rhs is one of its values
Return true if lhs == rhs or lhs is an or expression and rhs is one of its values
lhs
rhs