Sha256: 2b6b763f3a438b90d12ee76997bc0d61593ddcf620203993ee33c058b780a61e
Contents?: true
Size: 263 Bytes
Versions: 1
Compression:
Stored size: 263 Bytes
Contents
class Nydp::Builtin::GreaterThan include Nydp::Builtin::Base, Singleton def name ; ">" ; end def builtin_call arg, *args while !args.empty? return nil unless args.first && arg > args.first arg = args.shift end return arg end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nydp-0.6.0 | lib/nydp/builtin/greater_than.rb |