SyntaxFix
Write A Post
Hire A Developer
Questions
I don't know if this is Ruby intention or if this is a bug but try this code below. This code was run on Ruby version 2.5.1 and was on a Linux system.
puts 1 > -1 and 257 < 256 # => false puts 1 > -1 && 257 < 256 # => true