Skip to content

Commit

Permalink
when in Ruby land, might as well not explicitly return
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcc committed Mar 3, 2015
1 parent fde4571 commit 63aaecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/messenger/slack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def self.build_message(channel, display_name, body)
def self.matcher(url)
return false unless match = url.match(/slack:\/\/(.*)@(hooks.slack.com\/services)\/([T].*?)\/([B].*?)\/(.*)\/([#@].*)/)

return {
{
display_name: match[1],
base_url: match[2],
key_one: match[3],
Expand Down

0 comments on commit 63aaecd

Please sign in to comment.