rdf-xml/tests/convert-manifest.rb
changeset 2035 1fda78347d91
parent 1688 ee80328964cc
equal deleted inserted replaced
2032:a9026e2894df 2035:1fda78347d91
    71     <#{frag}> a rdft:#{type};
    71     <#{frag}> a rdft:#{type};
    72       mf:name "#{frag[1..-1]}";
    72       mf:name "#{frag[1..-1]}";
    73       rdfs:comment """
    73       rdfs:comment """
    74         #{desc}
    74         #{desc}
    75       """;
    75       """;
    76       rdfs:approval rdft:Approved
    76       rdft:approval rdft:Approved
    77     ).gsub(/^    /, '')[1..-2]
    77     ).gsub(/^    /, '')[1..-2]
    78 
    78 
    79     [:action, :result].each do |t|
    79     [:action, :result].each do |t|
    80       next unless test[t]
    80       next unless test[t]
    81       path = test[t].path.split('/')[-2..-1].join('/')
    81       path = test[t].path.split('/')[-2..-1].join('/')