Sha256: 07f63cd8edafb517a08d3e72a8371953863afddaf2e6ec08d98ad81d65e9b6a7

Contents?: true

Size: 317 Bytes

Versions: 1

Compression:

Stored size: 317 Bytes

Contents

class Nydp::Builtin::Apply
  include Nydp::Helper, Nydp::Builtin::Base, Singleton

  def builtin_call arg, *args
    # original_args = args.dup
    cc            = args.pop
    cc            = [] if cc == nil
    dd            = cc.to_a
    aa            = args.concat(dd)

    arg.call(*aa)._nydp_wrapper
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nydp-0.6.0 lib/nydp/builtin/apply.rb