Class: Atatus::Metadata::SystemInfo::OSInfo Private
- Inherits:
-
Object
- Object
- Atatus::Metadata::SystemInfo::OSInfo
- 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
- #kernel ⇒ Object private
- #os ⇒ Object private
Class Method Summary collapse
- .read! ⇒ Object private
Instance Method Summary collapse
-
#initialize ⇒ OSInfo
constructor
private
A new instance of OSInfo.
- #read! ⇒ Object private
Constructor Details
#initialize ⇒ OSInfo
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
#kernel ⇒ 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.
8 9 10 |
# File 'lib/atatus/metadata/system_info/os_info.rb', line 8 def kernel @kernel end |
#os ⇒ 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.
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 |