Class: Facts::Macosx::Networking::Primary
- Inherits:
-
Object
- Object
- Facts::Macosx::Networking::Primary
- Defined in:
- lib/facter/facts/macosx/networking/primary.rb
Constant Summary collapse
- FACT_NAME =
'networking.primary'
Instance Method Summary collapse
Instance Method Details
#call_the_resolver ⇒ Object
9 10 11 12 13 |
# File 'lib/facter/facts/macosx/networking/primary.rb', line 9 def call_the_resolver fact_value = Facter::Resolvers::Networking.resolve(:primary_interface) Facter::ResolvedFact.new(FACT_NAME, fact_value) end |