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-6.3.2 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-6.3.1 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-6.4.1 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-6.4.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-6.3.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-6.2.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-6.1.1 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-6.0.2 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-6.1.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-6.0.1 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-5.1.3 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-6.0.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-5.1.2 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-5.1.1 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-5.1.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-4.0.3.5 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-4.0.3.4 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-4.0.3.3 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-4.0.3.2 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-5.0.1 app/helpers/foreman_ansible/ansible_plugin_helper.rb