Module: RDF::Durable

Extended by:
Util::Aliasing::LateBound
Included in:
Dataset, Graph
Defined in:
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 '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 'lib/rdf/mixin/durable.rb', line 22

def nondurable?
  !durable?
end