You would have to fork it, otherwise it would try to create it in the actual repo, which you don’t have permission to do.
I have pushed the changes. The fork is at: https://github.com/curioustolearn/crystal
The branch which contains the changes is sha256example
.
Thanks.
Running what @asterite suggested would fix it crystal tool format
. The comment block has to be directly on top of the module definition. Those extra blank lines are causing it not to be seen.
But as I mentioned earlier, it would probably be better to add it to the actual method.
Great! Fixing the extra space and running crystal tool format
fixed it. As you suggested, I have moved the example to the update
method in the Digest
class. I pushed the branch again. Now I have to figure out how to create a pull request. Thank you.
2 Likes
I have created the pull request on the original Crystal repo.
3 Likes