Method: Prism::LexCompat::Result#deconstruct_keys

Defined in:
lib/prism/lex_compat.rb

#deconstruct_keys(keys) ⇒ Object

Implement the hash pattern matching interface for Result.



25
26
27
# File 'lib/prism/lex_compat.rb', line 25

def deconstruct_keys(keys)
  super.merge!(value: value)
end