# File lib/puppet/util/fileparsing.rb, line 224 224: def lines(text) 225: # Remove any trailing separators, and then split based on them 226: # LAK:NOTE See http://snurl.com/21zf8 [groups_google_com] 227: x = text.sub(/#{self.line_separator}\Q/,'').split(self.line_separator) 228: end