Module: RDF::Durable

Extended by:
Util::Aliasing::LateBound
Included in:
Dataset, Graph
Defined in:
vendor/bundler/ruby/3.3.0/bundler/gems/rdf-cfdeb1f47544/lib/rdf/mixin/durable.rb

Instance Method Summary collapse

Methods included from Util::Aliasing::LateBound

alias_method

Instance Method Details

#durable?Boolean Also known as: persistent?

Returns true if self is durable.

Returns:

  • (Boolean)

See Also:



11
12
13
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-cfdeb1f47544/lib/rdf/mixin/durable.rb', line 11

def durable?
  true
end

#nondurable?Boolean Also known as: ephemeral?, nonpersistent?, transient?, volatile?

Returns true if self is nondurable.

Returns:

  • (Boolean)

See Also:



22
23
24
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-cfdeb1f47544/lib/rdf/mixin/durable.rb', line 22

def nondurable?
  !durable?
end