Class: Yast::InstCheckMemsizeClient

Inherits:
Client
  • Object
show all
Defined in:
src/clients/inst_check_memsize.rb

Overview

Checking whether system has enough memory (bugzilla #305554)

Instance Method Summary collapse

Instance Method Details

#mainObject


5
6
7
8
9
10
11
12
13
14
15
16
# File 'src/clients/inst_check_memsize.rb', line 5

def main
  Yast.include self, "add-on/misc.rb"

  # Memory is low
  if HasInsufficientMemory()
    # User wants to continue
    return ContinueIfInsufficientMemory() ? :continue : :skip
  end

  # Enough memory
  :continue
end