Any suggetions on whats going wrong here.
in /lib I hae a file flickr_code.rb
class FlickrCode def test @tests = 'hello' return @tests end end
In one of my controllers I have
def flickr require 'flickr_code' oFlickr = FlickrCode::FlickrCode.new @returnvalue = oFlickr.test end
As far as I can work out, this should set @returnvalue in my controller
with ‘hello’. However it doesnt seem to be even running this function,