Sha256: aa34ada9dceef79a4020989971df768fc3d569d5c83137cbda91f9a60eab0c2e

Contents?: true

Size: 381 Bytes

Versions: 1

Compression:

Stored size: 381 Bytes

Contents

#	This file is part of the "Utopia Framework" project, and is released under the MIT license.
#	Copyright 2010 Samuel Williams. All rights reserved.
#	See <utopia.rb> for licensing details.

require 'utopia/tags'

Utopia::Tags.create("deferred") do |transaction, state|
	id = state[:id].to_i
	
	procedure = transaction.parent.deferred[id]
	
	procedure.call(transaction, state)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
utopia-0.10.0 lib/utopia/tags/deferred.rb