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-12.0.5 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-10.4.3 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-12.0.4 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-10.4.2 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-12.0.3 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-12.0.2 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-12.0.1 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-12.0.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-11.2.1 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-7.1.7 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-11.2.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-11.1.2 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-7.1.6 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-11.1.1 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-10.4.1 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-7.1.5 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-11.1.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-10.4.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-10.3.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-11.0.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb