class Hookit::Platform::Ubuntu
Public Instance Methods
detect?()
click to toggle source
# File lib/hookit/platform/ubuntu.rb, line 5 def detect? ! `[ -x /usr/bin/lsb_release ] && /usr/bin/lsb_release -i 2>/dev/null | grep Ubuntu`.empty? end
name()
click to toggle source
# File lib/hookit/platform/ubuntu.rb, line 9 def name 'ubuntu' end
os()
click to toggle source
# File lib/hookit/platform/ubuntu.rb, line 13 def os 'linux' end