class Inkcite::Renderer::Span

Public Instance Methods

render(tag, opt, ctx) click to toggle source
# File lib/inkcite/renderer/span.rb, line 5
def render tag, opt, ctx
  if tag == '/span'
    '</span>'
  else
    mix_all Element.new('span'), opt, ctx
  end
end