Class: AnimalHouse

Inherits:
Object show all
Includes:
Dataflow
Defined in:
lib/vendor/dataflow/examples/instance_variables.rb

Constant Summary

Constants included from Dataflow

Dataflow::UnificationError, Dataflow::VERSION

Instance Method Summary collapse

Methods included from Dataflow

#barrier, #by_need, #flow, included, #local, #need_later, #unify

Instance Method Details

#fetch_big_catObject



7
8
9
10
11
# File 'lib/vendor/dataflow/examples/instance_variables.rb', line 7

def fetch_big_cat
  Thread.new { unify big_cat, small_cat.upcase }
  unify small_cat, 'cat'
  big_cat
end