Module: CoreDocs

Defined in:
lib/core_docs.rb,
lib/core_docs.rb,
lib/core_docs/version.rb

Overview

do not use pry-doc if rbx is active if !Object.const_defined?(:RUBY_ENGINE) || RUBY_ENGINE !~ /rbx/ self.config.has_pry_doc = true end

Defined Under Namespace

Modules: MethodInfo

Constant Summary collapse

VERSION =
"0.9.10"

Class Method Summary collapse

Class Method Details

.load_yardoc(version) ⇒ Object



10
11
12
13
# File 'lib/core_docs.rb', line 10

def self.load_yardoc(version)
  path = "#{File.dirname(__FILE__)}/core_docs/core_docs_#{ version }"
  YARD::Registry.load_yardoc(path)
end