On 17 June 2010 12:21, Michael Sopira
<sopira-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> 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
That should be class not Class
Colin
> 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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.