Class: RDF::N3::Algebra::Str::NotEqualIgnoringCase

Inherits:
EqualIgnoringCase show all
Defined in:
lib/rdf/n3/algebra/str/not_equal_ignoring_case.rb

Overview

True iff the subject string is the NOT same as object string ignoring differences between upper and lower case.

Constant Summary collapse

NAME =
:strNotEqualIgnoringCase
URI =
RDF::N3::Str.notEqualIgnoringCase

Instance Attribute Summary

Attributes included from Enumerable

#existentials, #universals

Instance Method Summary collapse

Methods inherited from EqualIgnoringCase

#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_equal_ignoring_case.rb', line 13

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