class NXML::Text
Public Class Methods
new(text, raw = false)
click to toggle source
# File lib/nxml.rb, line 47 def initialize(text, raw = false) if raw @text = NXML::escape_text_raw text else @text = NXML::escape_text text end end
Public Instance Methods
to_str()
click to toggle source
# File lib/nxml.rb, line 55 def to_str @text end