10 lines
133 B
Ruby
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
|