Sha256: 33e01833a5908a8224e53be3dc56209fa290d6296a22ea459e52dc3ff27ab0dc

Contents?: true

Size: 479 Bytes

Versions: 4

Compression:

Stored size: 479 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'

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

4 entries across 4 versions & 1 rubygems

Version Path
utopia-0.10.0 lib/utopia/tags/override.rb
utopia-0.9.61 lib/utopia/tags/override.rb
utopia-0.9.60 lib/utopia/tags/override.rb
utopia-0.9.59 lib/utopia/tags/override.rb