Google

def add_text( text ) text = Text.new( text, whitespace(), raw() ) if text.kind_of? String self << text unless text.nil? return self end