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

Forum statistics

Threads
473,968
Messages
2,570,149
Members
46,695
Latest member
StanleyDri

Latest Threads

Top