Sha256: a3ecbe4bdfcc72c9b81cef31d42c24c14a4e338bd11dca3578403778b6773510

Contents?: true

Size: 357 Bytes

Versions: 2

Compression:

Stored size: 357 Bytes

Contents

# frozen_string_literal: true

module Facter
  module Solaris
    class RubyVersion
      FACT_NAME = 'ruby.version'
      ALIASES = 'rubyversion'

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facter-4.0.8.pre lib/facts/solaris/ruby/version.rb
facter-4.0.7.pre lib/facts/solaris/ruby/version.rb