Class: Builder::XmlMarkup

Inherits:
Object
  • Object
show all
Defined in:
lib/xml_serialization.rb

Instance Method Summary collapse

Instance Method Details

#no_tag!(string) ⇒ Object



45
46
47
# File 'lib/xml_serialization.rb', line 45

def no_tag!(string)
  _text string
end

#raw_tag!(tag, string) ⇒ Object



39
40
41
42
43
# File 'lib/xml_serialization.rb', line 39

def raw_tag!(tag, string)
   _start_tag(tag, {})
   _text string
   _end_tag(tag)
end