cattr_accessor outside of rails

Posted by JP on Stack Overflow See other posts from Stack Overflow or by JP
Published on 2010-06-09T00:02:07Z Indexed on 2010/06/09 0:12 UTC
Read the original article Hit count: 137

Filed under:
|

I'm trying to use the google_search ruby library (code follows) but it complains that 'cattr_accessor is an undefined method' - any ideas why this might be or how I could fix it?

require 'rubygems'
require 'google_search'

GoogleSearch.web :q => "pink floyd"

© Stack Overflow or respective owner

Related posts about ruby

Related posts about google-search