Top Level Namespace

Defined Under Namespace

Modules: FastXml

Instance Method Summary collapse

Instance Method Details

#FastHtml(data = nil, opts = {}, &blk) ⇒ Object



89
90
91
92
93
# File 'lib/fastxml_lib.rb', line 89

def FastHtml(data=nil, opts = {}, &blk)
  opts ||= {}
  opts[:html] = true
  FastXml::Doc.new( data, opts, &blk )
end

#FastXml(data = nil, opts = {}, &blk) ⇒ Object



85
86
87
# File 'lib/fastxml_lib.rb', line 85

def FastXml(data=nil, opts = {}, &blk)
  FastXml::Doc.new( data, opts, &blk )
end