string – ruby .split(‘\n’) not splitting on new line – Stack Overflow

Ruby and Rails Blog  > how-to, Ruby, Training >  string – ruby .split(‘\n’) not splitting on new line – Stack Overflow