Method: Glyph::TextNode#to_s

Defined in:
lib/glyph/syntax_node.rb

#to_sString

Returns the text itself.

Returns:

  • (String)

    the text itself

Since:

  • 0.3.0



171
172
173
# File 'lib/glyph/syntax_node.rb', line 171

def to_s
  self[:value]
end