Created
May 16, 2016 21:21
-
-
Save axtl/a184b1135d1830a9aab5e41df07d2553 to your computer and use it in GitHub Desktop.
single line rubocop crasher
This file contains hidden or 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
| require 'ipaddr' | |
| net_end = IPAddr.new '192.168.50.201' | |
| (1..5).reduce { net_end = net_end.succ } | |
| print net_end.to_s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment