Google

def text( path = nil ) rv = get_text path return rv.to_s unless rv.nil? nil end