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.
=> true
irb(main):002:0> require 'xmlsimple'
=> true
Thanks in advance
Regards
Jose
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'D:\>irb
=> true
irb(main):002:0> require 'xmlsimple'
=> true
Thanks in advance
Regards
Jose