class HtmlToAnsi::Html::Conversions::BlockNode

Public Instance Methods

render() click to toggle source
# File lib/html_to_ansi/html/conversions.rb, line 83
def render
  output = ''
  children.each { |c|
    output += c.render
  }
  output = "\n" + output.strip unless in_block?
  output
end