lib/slack-ruby-bot/config.rb in slack-ruby-bot-0.7.0 vs lib/slack-ruby-bot/config.rb in slack-ruby-bot-0.8.0
- old
+ new
@@ -28,10 +28,10 @@
when 0, 'false', 'no'
false
when 1, 'true', 'yes'
true
else
- fail ArgumentError, "Invalid value for #{key}: #{value}."
+ raise ArgumentError, "Invalid value for #{key}: #{value}."
end
end
end
end