Salve!

Is it possible in the 'when'-part to access components or mthods of an 
object specified in after 'case' ?

Something like:

case object
    when object.method == 'whatever' then ...
    when ohject.id%2 == 0 then ...
end

regards
ralf