Class: Yast::CallClass

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

Instance Method Summary (collapse)

Instance Method Details

- (Object) Function(f, a)

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



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

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

- (Object) main



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

def main

end