Sha256: e8954ced7148187ad4bf1028ffb1c3b51ba777a7e781997cf3032c282378be43

Contents?: true

Size: 344 Bytes

Versions: 1

Compression:

Stored size: 344 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Macosx
    module SystemUptime
      class Seconds
        FACT_NAME = 'system_uptime.seconds'

        def call_the_resolver
          fact_value = Facter::Resolvers::Uptime.resolve(:seconds)
          Facter::ResolvedFact.new(FACT_NAME, fact_value)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facter-4.0.9.pre lib/facts/macosx/system_uptime/seconds.rb