Sha256: 949cff3e300b4cbb70b716b5101c390a5ef0e13c6055c06b515473aa6fb12bf5
Contents?: true
Size: 975 Bytes
Versions: 14
Compression:
Stored size: 975 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', # cyclic reference # '../iso-10303-stepmod/data/resources/product_property_definition_schema/product_property_definition_schema_annotated.exp', # '../iso-10303-stepmod/data/resources/product_property_representation_schema/product_property_representation_schema_annotated.exp' ] repo = Expressir::ExpressExp::Parser.from_files(input_files) schema = repo.schemas.find{|x| x.id == 'action_schema'} # schema = repo.schemas.find{|x| x.id == 'product_property_definition_schema'} result = Expressir::ExpressExp::HyperlinkFormatter.format(schema) puts result
Version data entries
14 entries across 14 versions & 1 rubygems