Method: Sequence#close

Defined in:
lib/sequence.rb

#closeObject

Close the sequence. This will also close/invalidate every child position or derived sequence.



429
430
431
432
433
434
435
436
# File 'lib/sequence.rb', line 429

def close
  defined? @change_listeners and @change_listeners.each { |p|
    Sequence===p and p.close
  }
  # this should make just about any operation fail
  instance_variables.each { |v| remove_instance_variable(v) }
  nil
end