shorten ruby LOC for better readability