Method: RuboCop::Cop::Lint::DeprecatedOpenSSLConstant#algorithm_const

Defined in:
lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb

#algorithm_const(node) ⇒ Object

[View source]

40
41
42
43
44
45
46
47
# File 'lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb', line 40

def_node_matcher :algorithm_const, <<~PATTERN
  (send
    $(const
      (const
        (const {nil? cbase} :OpenSSL) {:Cipher :Digest})
      _)
    ...)
PATTERN