#1180 Add Object>>perform:with:

Closed
opened 8 years ago by nero · 0 comments

Originally at 2015-05-21T10:20:18Z by Hannes Hirzel

Pharo has

    Object>>perform:with:        

Amber only has

 #perform:withArguments

The implementation is

perform: aSymbol with: anObject 
        "Send the selector, aSymbol, to the receiver with anObject as its argument.

        ^ self perform: aSymbol withArguments: (Array with: anObject)

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Originally at 2015-05-21T10:20:18Z by Hannes Hirzel Pharo has Object>>perform:with: Amber only has #perform:withArguments The implementation is perform: aSymbol with: anObject "Send the selector, aSymbol, to the receiver with anObject as its argument. ^ self perform: aSymbol withArguments: (Array with: anObject) <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/16424746-add-object-perform-with?utm_campaign=plugin&utm_content=tracker%2F79201&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F79201&utm_medium=issues&utm_source=github). </bountysource-plugin>
Sign in to join this conversation.
No Label
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.