Class: Facts::Windows::Dmi::Product::Name
- Inherits:
-
Object
- Object
- Facts::Windows::Dmi::Product::Name
- Defined in:
- lib/facter/facts/windows/dmi/product/name.rb
Constant Summary collapse
- FACT_NAME =
'dmi.product.name'
- ALIASES =
'productname'
Instance Method Summary collapse
Instance Method Details
#call_the_resolver ⇒ Object
11 12 13 14 15 |
# File 'lib/facter/facts/windows/dmi/product/name.rb', line 11 def call_the_resolver fact_value = Facter::Resolvers::DMIComputerSystem.resolve(:name) [Facter::ResolvedFact.new(FACT_NAME, fact_value), Facter::ResolvedFact.new(ALIASES, fact_value, :legacy)] end |