Sha256: 8d22e09bf5c67444cb6478e41815dc7d1fe9ead7031e070da432245713c89a97

Contents?: true

Size: 392 Bytes

Versions: 104

Compression:

Stored size: 392 Bytes

Contents

# frozen_string_literal: true

require "#{ForemanAnsible::Engine.root}/lib/foreman_ansible/version"

module ForemanAnsible
  # General helper for foreman_ansible
  module AnsiblePluginHelper
    def ansible_doc_url
      major_version = ::ForemanAnsible::VERSION.split('.')[0]
      'https://theforeman.org/plugins/foreman_ansible/'\
        "#{major_version}.x/index.html"
    end
  end
end

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
foreman_ansible-10.2.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-10.1.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-10.0.1 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-10.0.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-7.1.4 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-9.0.1 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-7.1.3 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-9.0.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-7.1.2 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-7.1.1 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-8.0.1 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-8.0.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-7.0.4 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-7.1.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-7.0.3 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-7.0.2 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-7.0.1 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-7.0.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-6.3.4 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-6.3.3 app/helpers/foreman_ansible/ansible_plugin_helper.rb