Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

String concatenation instead of streams, so what? #27

Open
RobertoMinelli opened this issue Nov 26, 2014 · 1 comment
Open

String concatenation instead of streams, so what? #27

RobertoMinelli opened this issue Nov 26, 2014 · 1 comment

Comments

@RobertoMinelli
Copy link

Add something in the rule description, I have no idea what to do

@Uko
Copy link
Owner

Uko commented Nov 27, 2014

Started discussion here: http://forum.world.st/Stream-instead-of-string-concatenation-td4792368.html

One option can be to add description like this to the rule:

String streamContents: [ :stream | 
  stream 
    nextPutAll: 'Hello'; 
    nextPut: $ ; 
    nextPutAll: 'World’] 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants