Method: CodeRay::Encoders::XML#end_group

Defined in:
lib/coderay/encoders/xml.rb

#end_group(kind) ⇒ Object



62
63
64
65
66
67
# File 'lib/coderay/encoders/xml.rb', line 62

def end_group kind
  if @node == @root
    raise 'no token to close!'
  end
  @node = @node.parent
end