Consistency in Ruby code