Last change
on this file since 395 was 168, checked in by KOBAYASHI, Shinji, 15 years ago |
roll back branch 0.0
|
File size:
298 bytes
|
Rev | Line | |
---|
[4] | 1 | $:.unshift File.join(File.dirname(__FILE__))
|
---|
| 2 | require 'parser.rb'
|
---|
| 3 |
|
---|
| 4 |
|
---|
[168] | 5 | module OpenEHR
|
---|
[4] | 6 | module ADL
|
---|
| 7 |
|
---|
| 8 | class Validator
|
---|
| 9 | def initialize(parser)
|
---|
| 10 | @parser = parser
|
---|
| 11 | end
|
---|
| 12 |
|
---|
| 13 | def validate(input_string, name = nil)
|
---|
| 14 | @parser.parse(input_string, name)
|
---|
| 15 | end
|
---|
| 16 | end
|
---|
| 17 |
|
---|
| 18 | end
|
---|
| 19 | end
|
---|
| 20 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.