Module: XMLRPC::XMLWriter::Element

Included in:
Simple, XMLParser
Defined in:
lib/xmlrpc/create.rb

Instance Method Summary collapse

Instance Method Details

#ele(name, *children) ⇒ Object



16
17
18
# File 'lib/xmlrpc/create.rb', line 16

def ele(name, *children)
  element(name, nil, *children)
end

#tag(name, txt) ⇒ Object



20
21
22
# File 'lib/xmlrpc/create.rb', line 20

def tag(name, txt)
  element(name, nil, text(txt))
end