Class: Axiom::Relation::Variable

Inherits:
Object
  • Object
show all
Defined in:
lib/axiom/adapter/memory.rb

Overview

XXX: patch #update into Variable

Instance Method Summary collapse

Instance Method Details

#update(&block) ⇒ Axiom::Relation::Variable

Update a relation variable

Examples:

relvar.update { |tuple| ... }

Returns:



95
96
97
# File 'lib/axiom/adapter/memory.rb', line 95

def update(&block)
  replace(map(&block))
end