Sha256: 77ff18fc6aa1a8996180679c42823ac216d670f4815dcaea366ef880f264404d

Contents?: true

Size: 468 Bytes

Versions: 4

Compression:

Stored size: 468 Bytes

Contents

module RDF::N3::Algebra::Str
  # True iff the string is NOT less than the object when ordered according to Unicode(tm) code order.
  class NotLessThan < LessThan
    NAME = :strNotLessThan
    URI = RDF::N3::Str.notLessThan

    ##
    # @param  [RDF::Literal] left
    #   a literal
    # @param  [RDF::Literal] right
    #   a literal
    # @return [RDF::Literal::Boolean]
    def apply(left, right)
      RDF::Literal(super != RDF::Literal::TRUE)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rdf-n3-3.3.0 lib/rdf/n3/algebra/str/not_less_than.rb
rdf-n3-3.2.1 lib/rdf/n3/algebra/str/not_less_than.rb
rdf-n3-3.2.0 lib/rdf/n3/algebra/str/not_less_than.rb
rdf-n3-3.1.2 lib/rdf/n3/algebra/str/not_less_than.rb