Sha256: 753bcebcef62e83221bab908fa8a69dffa5188a75546bc59b690c7f229148206
Contents?: true
Size: 240 Bytes
Versions: 1
Compression:
Stored size: 240 Bytes
Contents
class Nydp::Builtin::Minus include Nydp::Builtin::Base, Singleton def name ; "-" ; end def builtin_call *args if args.length == 1 - args.first elsif args.first args.reduce(&:-) else 0 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nydp-0.6.0 | lib/nydp/builtin/minus.rb |