Class: Yast::CallClass

Inherits:
Module
  • Object
show all
Defined in:
library/general/src/modules/Call.rb

Instance Method Summary collapse

Instance Method Details

#Function(f, a) ⇒ Object

Workaround function for WFM::CallFunction scope problems (#22486). Same use as WFM::CallFunction.

Parameters:

  • f (String)

    function client to be called

  • a (Array)

    function params

Returns:

  • function result



42
43
44
45
# File 'library/general/src/modules/Call.rb', line 42

def Function(f, a)
  a = deep_copy(a)
  WFM.CallFunction(f, a)
end

#mainObject



34
35
# File 'library/general/src/modules/Call.rb', line 34

def main
end