Module: Libclang

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

Defined Under Namespace

Classes: Error

Constant Summary collapse

VERSION =
"14.0.6"

Class Method Summary collapse

Class Method Details

.libdirObject



13
14
15
# File 'lib/libclang.rb', line 13

def libdir
  @libdir ||= File.expand_path("../vendor/lib", __dir__)
end

.pathObject



17
18
19
# File 'lib/libclang.rb', line 17

def path
  @path ||= Dir["#{libdir}/*clang.*"].first
end

.versionObject



9
10
11
# File 'lib/libclang.rb', line 9

def version
  VERSION
end