Method: YARP::ArrayPatternNode#deconstruct_keys

Defined in:
lib/yarp/node.rb

#deconstruct_keys(keys) ⇒ Object

def deconstruct_keys: (keys: Array) -> Hash[Symbol, nil | Node | Array | String | Token | Array | Location]



427
428
429
# File 'lib/yarp/node.rb', line 427

def deconstruct_keys(keys)
  { constant: constant, requireds: requireds, rest: rest, posts: posts, opening_loc: opening_loc, closing_loc: closing_loc, location: location }
end