Method: Ldpath::Functions#ge

Defined in:
lib/ldpath/functions.rb

#ge(_uri, _context, *args) ⇒ Object



57
58
59
60
61
62
# File 'lib/ldpath/functions.rb', line 57

def ge(_uri, _context, *args)
  a, b, *rem = deep_flatten_compact(*args).first(3)
  raise "Too many arguments to fn:ge" unless rem.empty?

  a >= b
end