Module: Contextuality::ThreadMethods

Defined in:
lib/contextuality.rb

Instance Method Summary collapse

Instance Method Details

#contextualityObject



46
47
48
49
50
# File 'lib/contextuality.rb', line 46

def contextuality
  self[:contextuality] ||= (Thread.main != self) ?
    Thread.main.contextuality.dup :
    Contextuality::Context.new
end