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

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

change hiearachy

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.