Class: Utopia::Tags::Override

Inherits:
Object
  • Object
show all
Defined in:
lib/utopia/tags/override.rb

Class Method Summary collapse

Class Method Details

.call(transaction, state) ⇒ Object



12
13
14
# File 'lib/utopia/tags/override.rb', line 12

def self.call(transaction, state)
	transaction.parse_xml(state.content)
end

.tag_begin(transaction, state) ⇒ Object



8
9
10
# File 'lib/utopia/tags/override.rb', line 8

def self.tag_begin(transaction, state)
	state.overrides[state[:name]] = state[:with]
end