Sha256: 2915440390ac1f04456425eb78445741917abf33616894d8a4fa7b2af1524564

Contents?: true

Size: 411 Bytes

Versions: 1

Compression:

Stored size: 411 Bytes

Contents

# frozen_string_literal: true

module Facts
  module El
    module Ruby
      class Version
        FACT_NAME = 'ruby.version'
        ALIASES = 'rubyversion'

        def call_the_resolver
          fact_value = Facter::Resolvers::Ruby.resolve(:version)
          [Facter::ResolvedFact.new(FACT_NAME, fact_value), Facter::ResolvedFact.new(ALIASES, fact_value, :legacy)]
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facter-4.0.9.pre lib/facts/el/ruby/version.rb