Sha256: 22a32132dc1fcb1089a79442fd7f3b59839c0ee210ea4efea56a5979100aee58

Contents?: true

Size: 297 Bytes

Versions: 16

Compression:

Stored size: 297 Bytes

Contents

$:.unshift File.join(File.dirname(__FILE__))
require 'parser.rb'

module OpenEHR
  module ADL

    class Validator
      def initialize(parser)
        @parser = parser
      end

      def validate(input_string, name = nil)
        @parser.parse(input_string, name)
      end
    end

  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
openehr-1.2.8 lib/openehr/parser/validator.rb
openehr-1.2.7 lib/openehr/parser/validator.rb
openehr-1.2.6 lib/openehr/parser/validator.rb
openehr-1.2.5 lib/openehr/parser/validator.rb
openehr-1.2.4 lib/openehr/parser/validator.rb
openehr-1.2.3 lib/openehr/parser/validator.rb
openehr-1.2.2 lib/openehr/parser/validator.rb
openehr-1.2.1 lib/openehr/parser/validator.rb
openehr-1.2.0 lib/openehr/parser/validator.rb
openehr-1.1.6 lib/openehr/parser/validator.rb
openehr-1.1.5 lib/openehr/parser/validator.rb
openehr-1.1.4 lib/openehr/parser/validator.rb
openehr-1.1.3 lib/openehr/parser/validator.rb
openehr-1.1.2 lib/openehr/parser/validator.rb
openehr-1.1.1 lib/openehr/parser/validator.rb
openehr-1.1.0 lib/openehr/parser/validator.rb