Method: Element#text

Defined in:
lib/source/redshift/accessors.rb

#textObject

call-seq:

elem.text -> string

Returns the text inside elem as a string.



348
349
350
# File 'lib/source/redshift/accessors.rb', line 348

def text
  `$q(#{trident?} ? this.__native__.innerText : this.__native__.textContent)`
end