How? because I get Foo new ifTrue: ['sss']
mustBeABoolean On Aug 29, 2011, at 10:50 AM, Damien Cassou wrote: > 2011/8/29 Levente Uzonyi <[email protected]>: >> Currently you can't send #ifTrue: to any object. > > Looks like it works on Pharo 1.3. I created a class with an #ifTrue: > method and I can call it without problem > > -- > Damien Cassou > http://damiencassou.seasidehosting.st > > "Lambdas are relegated to relative obscurity until Java makes them > popular by not having them." James Iry >
