Class: Atatus::Metadata::SystemInfo::OSInfo Private

Inherits:
Object
  • Object
show all
Defined in:
lib/atatus/metadata/system_info/os_info.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeOSInfo

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of OSInfo.



10
11
# File 'lib/atatus/metadata/system_info/os_info.rb', line 10

def initialize
end

Instance Attribute Details

#kernelObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



8
9
10
# File 'lib/atatus/metadata/system_info/os_info.rb', line 8

def kernel
  @kernel
end

#osObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



8
9
10
# File 'lib/atatus/metadata/system_info/os_info.rb', line 8

def os
  @os
end

Class Method Details

.read!Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



18
19
20
# File 'lib/atatus/metadata/system_info/os_info.rb', line 18

def self.read!
  new.read!
end

Instance Method Details

#read!Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



13
14
15
16
# File 'lib/atatus/metadata/system_info/os_info.rb', line 13

def read!
  read_from_uname!
  self
end