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-15.0.2 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-15.0.1 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-15.0.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-14.2.2 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-14.2.1 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-13.0.7 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-14.2.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-14.1.1 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-14.1.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-13.0.5 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-14.0.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-13.0.4 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-13.0.3 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-13.0.2 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-13.0.1 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-13.0.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-12.0.7 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-10.4.4 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-7.1.8 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-12.0.6 app/helpers/foreman_ansible/ansible_plugin_helper.rb