I get this error

/Users/sopira/rubydev/hello/app/models/spracovatel.rb:5: syntax error,
unexpected kEND, expecting $end

on the 5th line of the code, which has got just (and only) 5 line:

CODE:
Class Spracovatel
  def spracovat
    return 5
  end
end

What can cause this error?
After digging all the internet I have not found any idea.
Maybe here.

Thanks,
Michael.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to