Created
October 10, 2017 04:01
-
-
Save kklimuk/d8f6a110ba42e95894aed312a49645b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# a proc, which I will insist on calling a function | |
notifier = proc { |id, message| SlackClient.new.notify(id, message.strip) } | |
notifier.call('@kirill', 'hello, world ') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment