Class: Facter::TPM::Util
- Inherits:
-
Object
- Object
- Facter::TPM::Util
- Defined in:
- lib/facter/tpm/util.rb
Instance Attribute Summary collapse
-
#result ⇒ Object
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(sys_path) ⇒ Util
constructor
A new instance of Util.
Constructor Details
#initialize(sys_path) ⇒ Util
Returns a new instance of Util.
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/facter/tpm/util.rb', line 9 def initialize(sys_path) @sys_path = sys_path @result = { 'sys_path' => sys_path, 'version' => version, 'status' => status } @result['pubek'] = pubek(@result['status']) end |
Instance Attribute Details
#result ⇒ Object
Returns the value of attribute result.
7 8 9 |
# File 'lib/facter/tpm/util.rb', line 7 def result @result end |