File: rubygems_plugin.rb

package info (click to toggle)
yard 0.9.38-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,736 kB
  • sloc: ruby: 31,680; javascript: 7,658; makefile: 21
file content (9 lines) | stat: -rw-r--r-- 389 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true
if defined?(Gem::VERSION) && Gem::VERSION >= "2.0."
  require File.expand_path(File.dirname(__FILE__) + '/yard/rubygems/hook')
else
  unless defined?(Gem::DocManager.load_yardoc)
    require File.expand_path(File.dirname(__FILE__) + '/yard/rubygems/specification')
    require File.expand_path(File.dirname(__FILE__) + '/yard/rubygems/doc_manager')
  end
end