module Rockt::Environment::Unix

Represents general Unix environments - Linux, BSD, Solaris. It basically depends on X’s xdg-open.

Public Class Methods

commands() click to toggle source
# File lib/rockt/environment/unix.rb, line 11
def self.commands
  %w( xdg-open )
end
regex() click to toggle source
# File lib/rockt/environment/unix.rb, line 15
def self.regex
  /(linux|bsd|aix|solaris)/i
end