Class: Facts::Macosx::Virtual
- Inherits:
-
Object
- Object
- Facts::Macosx::Virtual
- Defined in:
- lib/facter/facts/macosx/virtual.rb
Constant Summary collapse
- FACT_NAME =
'virtual'
Instance Method Summary collapse
Instance Method Details
#call_the_resolver ⇒ Object
8 9 10 11 12 |
# File 'lib/facter/facts/macosx/virtual.rb', line 8 def call_the_resolver fact_value = check_vmware || check_virtualbox || check_parallels || 'physical' Facter::ResolvedFact.new(FACT_NAME, fact_value) end |