helm/rake/lib/os.rb
2014-08-31 02:50:03 -04:00

10 lines
133 B
Ruby

def is_mac?
RUBY_PLATFORM =~ /darwin/
end
def is_linux?
RUBY_PLATFORM =~ /linux/
end
# TODO Implement other linux distro tests