Class: VagrantArtixHost::Host

Inherits:
Object
  • Object
show all
Defined in:
lib/host/host.rb

Instance Method Summary collapse

Instance Method Details

#detect?(env) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/host/host.rb', line 5

def detect?(env)
  File.exist?('/etc/artix-release')
end