Sha256: 8b07f1bbebf238c383dac048f698f27db88286bce7ca19236d0514e5a415ea67
Contents?: true
Size: 768 Bytes
Versions: 12
Compression:
Stored size: 768 Bytes
Contents
# -*- encoding: UTF-8 -*- require 'csd/application/default' require 'csd/application/graphics/error' require 'csd/application/graphics/base' module CSD module Application # This is the Application Module to update the graphics card drivers. # module Graphics class << self include CSD::Application::Default # This method will check which system we're on and initialize the correct sub-module. # Currently we only support Ubuntu. # def instance if Gem::Platform.local.ubuntu? UI.debug "#{self}.instance finishes the system check" Base.new else raise 'Sorry, currently only Ubuntu is supported.' end end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems