I found the problem "Norse_largeThe '-' prefix works only for literal numbers (use #negated instead) -> -cpcIconContents "Private - Method generated with the content of the file File @ /Users/kilon/Downloads/Norse_large-cpc.png"" looks like it does not like that i use "-" inside the file name. In the folder the name of the file is not Norse_large-cpc.png but Norse-large-cpc.png "-" has some special meaning here ? On Sat, Apr 4, 2015 at 4:12 PM, Peter Uhnák <i.uhnak@gmail.com> wrote:
create file ? i thought the class only creates methods
yeah, I mean method
anyway, the method is created , but it does not proceed to next png. Shouldn create a method for each png it finds in the directory ?
yes it should, it operates on a collection, so if dir allFiles select: [ :each | each extension = 'png' ] shows more then one file it should also create a method for each one, not just the first
Peter