[result: ] attributes

J

Jon Shemitz

I'm trying to think of an example where you need to apply an attribute
to a method result. Am drawing a blank ... and am also having trouble
imagining a situation where you would want to apply an attribute to a
method result.
 
J

Jens Thiel

Jon Shemitz said:
I'm trying to think of an example where you need to apply an attribute
to a method result

- changing the way the value is returned
- assert that the return value is within a certain range
- ...

Jens.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top