Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Repost : Trouble with Error: "..undefined method `write'.."
Roger Hansen
4/30/2009 1:14:00 AM
The Complete line from error inside SciTE :
test.rb:12: undefined method `write' for #<String:0x3a36d64>
(NoMethodError)
Error results from this line :
google_data.to_xml.write($stdout, 1)
--------------------------------------------------------------------
... trying to use this Scrubyt sample script on WinXP:
require 'rubygems'
require 'scrubyt'
google_data = Scrubyt::Extractor.define do
fetch '
http://www.google.co...
fill_textfield 'q', 'ruby'
submit
result 'Ruby Programming Language'
end
google_data.to_xml.write($stdout, 1)
Scrubyt::ResultDumper.print_statistics(google_data)
--------------------------------------------------------------------
Any help would be appreciated. Does anyone know of an up to
date tutorial on Scrubyt? Thanks in advance
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Repost : Trouble with Error: "..undefined method `write'.."
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password