Module: Saxon::S9API
- Defined in:
- lib/saxon/loader.rb,
lib/saxon/s9api.rb
Overview
A sensible namespace to put Saxon Java classes into
Constant Summary collapse
- CLASS_IMPORT_SEMAPHORE =
Mutex.new
Class Method Summary collapse
Class Method Details
.const_missing(name) ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/saxon/s9api.rb', line 8 def const_missing(name) Saxon::Loader.load! begin const_set(name, imported_classes.const_get(name)) rescue NameError msg = "uninitialized constant Saxon::S9API::#{name}" e = NameError.new(msg, name) raise e end end |