Sha256: 502cc79b52d4d7f024fba794a3094857ab5ee3752dbd9661b08b0f94043ae77f
Contents?: true
Size: 262 Bytes
Versions: 1
Compression:
Stored size: 262 Bytes
Contents
class Nydp::Builtin::LessThan include Nydp::Builtin::Base, Singleton def builtin_call arg, *args while !args.empty? return nil unless args.first && (arg < args.first) arg = args.shift end return arg end def name ; "<" ; end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nydp-0.6.0 | lib/nydp/builtin/less_than.rb |