helm/rake/lib/os.rb

10 lines
133 B
Ruby
Raw Normal View History

2014-08-30 23:50:03 -07:00
def is_mac?
RUBY_PLATFORM =~ /darwin/
end
def is_linux?
RUBY_PLATFORM =~ /linux/
end
# TODO Implement other linux distro tests