module Ilex::ArbreExt::HTML::TextNode
Public Instance Methods
build(string)
click to toggle source
# File lib/ilex/arbre_ext/html/text_node.rb, line 5 def build(string) @content = if string.is_a? Array string.join.html_safe else string end end