source: ruby/trunk/adl_parser/lib/validator.rb@ 4

Last change on this file since 4 was 4, checked in by KOBAYASHI, Shinji, 16 years ago

restructuring repository tree

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.