Class: RDF::N3::Algebra::Str::NotLessThan

Inherits:
LessThan show all
Defined in:
lib/rdf/n3/algebra/str/not_less_than.rb

Overview

True iff the string is NOT less than the object when ordered according to Unicode(tm) code order.

Constant Summary collapse

NAME =
:strNotLessThan
URI =
RDF::N3::Str.notLessThan

Instance Attribute Summary

Attributes included from Enumerable

#existentials, #universals

Instance Method Summary collapse

Methods inherited from LessThan

#input_operand, #resolve

Methods inherited from ResourceOperator

#as_literal, #execute, #input_operand, #resolve, #valid?

Methods included from Builtin

#each, #evaluate, #hash, #input_operand, #rank, #to_uri

Instance Method Details

#apply(left, right) ⇒ RDF::Literal::Boolean

Parameters:

Returns:

  • (RDF::Literal::Boolean)


13
14
15
# File 'lib/rdf/n3/algebra/str/not_less_than.rb', line 13

def apply(left, right)
  RDF::Literal(super != RDF::Literal::TRUE)
end