Module: Kernel

Defined in:
lib/scruby/core_ext/delegator_array.rb

Instance Method Summary collapse

Instance Method Details

#d(*args) ⇒ Object



38
39
40
41
42
43
# File 'lib/scruby/core_ext/delegator_array.rb', line 38

def d *args
  args.peel!
  darray = DelegatorArray.new
  darray.push *args
  darray
end