Skip to content

Latest commit

 

History

History
87 lines (36 loc) · 839 Bytes

Callbacks.rst

File metadata and controls

87 lines (36 loc) · 839 Bytes

Callbacks

nodoc

Callbacks/ClassMethods

Constants

Files

Methods

#destroy
nodoc

ruby

def destroy #:nodoc:

tx = Neo4j::Transaction.new run_callbacks(:destroy) { super }

rescue

@_deleted = false @attributes = @attributes.dup tx.mark_failed raise

ensure

tx.close if tx

end

#touch
nodoc

ruby

def touch(*) #:nodoc:

run_callbacks(:touch) { super }

end