XmlSimple not working

D

dare ruby

Dear Friends,

I have installed xml-simple(1.0.12) in my system.

When i tried to run an sample using xml-simple, i getting error like
this.

require 'rubygems'
require 'xmlsimple'
con = XmlSimple.xml_in("<opt username='bob'/>")

testing.rb:3: undefined method `xml_in' for XmlSimple:Class
(NoMethodError)

Could anyone plz suggest on the above issue?

Also in irb both rubygems and xmlsimple returns true.
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'xmlsimple'
=> true

Thanks in advance

Regards
Jose
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top