Sha256: 5b614e10dce8cfee4a8aefe937b29d891d61135b666e09d1adb587d4910cf9c4

Contents?: true

Size: 478 Bytes

Versions: 31

Compression:

Stored size: 478 Bytes

Contents

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

require 'utopia/tags'

class Utopia::Tags::Override
	def self.tag_begin(transaction, state)
		state.overrides[state[:name]] = state[:with]
	end
	
	def self.call(transaction, state)
		transaction.parse_xml(state.content)
	end
end

Utopia::Tags.register("override", Utopia::Tags::Override)

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
utopia-0.9.58 lib/utopia/tags/override.rb
utopia-0.9.57 lib/utopia/tags/override.rb
utopia-0.9.56 lib/utopia/tags/override.rb
utopia-0.9.55 lib/utopia/tags/override.rb
utopia-0.9.54 lib/utopia/tags/override.rb
utopia-0.9.53 lib/utopia/tags/override.rb
utopia-0.9.52 lib/utopia/tags/override.rb
utopia-0.9.51 lib/utopia/tags/override.rb
utopia-0.9.50 lib/utopia/tags/override.rb
utopia-0.9.49 lib/utopia/tags/override.rb
utopia-0.9.48 lib/utopia/tags/override.rb
utopia-0.9.47 lib/utopia/tags/override.rb
utopia-0.9.46 lib/utopia/tags/override.rb
utopia-0.9.45 lib/utopia/tags/override.rb
utopia-0.9.43 lib/utopia/tags/override.rb
utopia-0.9.42 lib/utopia/tags/override.rb
utopia-0.9.41 lib/utopia/tags/override.rb
utopia-0.9.40 lib/utopia/tags/override.rb
utopia-0.9.39 lib/utopia/tags/override.rb
utopia-0.9.38 lib/utopia/tags/override.rb