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 o
You can get this functionality by including the Ruby Facets gem. Reference the source here:
https://github.com/rubyworks/facets/blob/master/lib/core/facets/cattr.rb
You generally don't need to require all code from the gem. You can selectively require what you want. There are quite a few useful extensions in the gem though.