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



28
29
30
# File 'lib/utopia/tags/override.rb', line 28

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

.tag_begin(transaction, state) ⇒ Object



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

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