Sha256: c21a38177bb7e5d55685a01e428936ef45294f19a6a0696707801d59ede991f2

Contents?: true

Size: 518 Bytes

Versions: 4

Compression:

Stored size: 518 Bytes

Contents

module RDF::N3::Algebra::Str
  # True iff the subject string is the NOT same as object string ignoring differences between upper and lower case.
  class NotEqualIgnoringCase < EqualIgnoringCase
    NAME = :strNotEqualIgnoringCase
    URI = RDF::N3::Str.notEqualIgnoringCase

    ##
    # @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_equal_ignoring_case.rb
rdf-n3-3.2.1 lib/rdf/n3/algebra/str/not_equal_ignoring_case.rb
rdf-n3-3.2.0 lib/rdf/n3/algebra/str/not_equal_ignoring_case.rb
rdf-n3-3.1.2 lib/rdf/n3/algebra/str/not_equal_ignoring_case.rb