Update 04-class-field.tex

The field "method" does not exist. However "myMethod" method, yes.
Merge pull request #44 from PifyZ/patch-1

Update 04-class-field.tex