Class: Array

Inherits:
Object show all
Defined in:
lib/pattern-match/deconstructor.rb

Class Method Summary collapse

Class Method Details

.deconstruct(val) ⇒ Object



18
19
20
21
# File 'lib/pattern-match/deconstructor.rb', line 18

def deconstruct(val)
  accept_self_instance_only(val)
  val
end