Exception: Utopia::Content::UnbalancedTagError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/utopia/content/node.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tag) ⇒ UnbalancedTagError

Returns a new instance of UnbalancedTagError.



29
30
31
32
33
# File 'lib/utopia/content/node.rb', line 29

def initialize(tag)
	@tag = tag
	
	super("Unbalanced tag #{tag.name}")
end

Instance Attribute Details

#tagObject (readonly)

Returns the value of attribute tag.



35
36
37
# File 'lib/utopia/content/node.rb', line 35

def tag
  @tag
end