lib/boty/slack/users.rb in boty-0.1.0 vs lib/boty/slack/users.rb in boty-0.1.1

- old
+ new

@@ -19,10 +19,10 @@ Slack::User.new info } end def by_name(name) - list.select { |user| user.name == name }.first + list.find { |user| user.name == name } end end end end