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



23
24
25
# File 'lib/utopia/tags/override.rb', line 23

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

.tag_begin(transaction, state) ⇒ Object



19
20
21
# File 'lib/utopia/tags/override.rb', line 19

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