class Nydp::Builtin::GreaterThan

Public Instance Methods

builtin_call(arg, *args) click to toggle source
# File lib/nydp/builtin/greater_than.rb, line 6
def builtin_call arg, *args
  while !args.empty?
    return nil unless args.first && arg > args.first
    arg = args.shift
  end
  return arg
end
name() click to toggle source
# File lib/nydp/builtin/greater_than.rb, line 4
def name ; ">" ; end