Sha256: 2da8cfee528e63778748f1cd08be4724d4288667c15a676531bbe98f6b5c7200
Contents?: true
Size: 613 Bytes
Versions: 7
Compression:
Stored size: 613 Bytes
Contents
#!/usr/bin/env ruby require "expressir/express_exp/parser" require "expressir/express_exp/hyperlink_formatter" input_files = [ '../iso-10303-stepmod/data/resources/action_schema/action_schema_annotated.exp', '../iso-10303-stepmod/data/resources/basic_attribute_schema/basic_attribute_schema_annotated.exp', '../iso-10303-stepmod/data/resources/support_resource_schema/support_resource_schema_annotated.exp' ] repo = Expressir::ExpressExp::Parser.from_files(input_files) schema = repo.schemas.find{|x| x.id == 'action_schema'} result = Expressir::ExpressExp::HyperlinkFormatter.format(schema) puts result
Version data entries
7 entries across 7 versions & 1 rubygems