# File lib/ohai/plugins/linux/platform.rb, line 18 def get_redhatish_platform(contents) contents[/^Red Hat/i] ? "redhat" : contents[/(\w+)/i, 1].downcase end