Module: Saxon::S9API

Defined in:
lib/saxon/loader.rb,
lib/saxon/s9api.rb

Overview

A sensible namespace to put Saxon Java classes into

Class Method Summary collapse

Class Method Details

.const_missing(name) ⇒ Object



5
6
7
8
9
10
11
12
13
14
# File 'lib/saxon/s9api.rb', line 5

def self.const_missing(name)
  Saxon::Loader.load!
  if const_defined?(name)
    const_get(name)
  else
    msg = "uninitialized constant Saxon::S9API::#{name}"
    e = NameError.new(msg, name)
    raise e
  end
end