Class: Jing
- Inherits:
-
Object
- Object
- Jing
- Defined in:
- lib/tebako-runtime/adapters/jing.rb
Overview
Unpack jing.jar
Constant Summary collapse
- DEFAULT_JAR =
TebakoRuntime.extract_memfs(tmp)
Instance Method Summary collapse
-
#initialize(schema, options = nil) ⇒ Jing
constructor
A new instance of Jing.
- #original_initialize ⇒ Object
- #original_validate ⇒ Object
- #validate(xml) ⇒ Object
Constructor Details
#initialize(schema, options = nil) ⇒ Jing
Returns a new instance of Jing.
37 38 39 |
# File 'lib/tebako-runtime/adapters/jing.rb', line 37 def initialize(schema, = nil) original_initialize(TebakoRuntime.extract_memfs(schema, wild: true), ) end |
Instance Method Details
#original_initialize ⇒ Object
34 |
# File 'lib/tebako-runtime/adapters/jing.rb', line 34 alias original_initialize initialize |
#original_validate ⇒ Object
35 |
# File 'lib/tebako-runtime/adapters/jing.rb', line 35 alias original_validate validate |
#validate(xml) ⇒ Object
41 42 43 |
# File 'lib/tebako-runtime/adapters/jing.rb', line 41 def validate(xml) original_validate(TebakoRuntime.extract_memfs(xml)) end |