source: ruby/branches/0.0/adl_parser/lib/validator.rb@ 168

Last change on this file since 168 was 168, checked in by KOBAYASHI, Shinji, 15 years ago

roll back branch 0.0

File size: 298 bytes
Line 
1$:.unshift File.join(File.dirname(__FILE__))
2require 'parser.rb'
3
4
5module OpenEHR
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
19end
20
Note: See TracBrowser for help on using the repository browser.