Class: Yast::Exportable::ExportData

Inherits:
OpenStruct
  • Object
show all
Defined in:
src/ruby/yast/exportable.rb

Overview

Holder for exported data

Instance Method Summary collapse

Instance Method Details

#private?Boolean

Is exported data only for private purpose. It is useful only to test private methods from old Yast testsuite.

Returns:

  • (Boolean)


11
12
13
14
# File 'src/ruby/yast/exportable.rb', line 11

def private?
  table = marshal_dump
  !!table[:private]
end