Sha256: 3a227b73ac7ca36387eaabbc4b60baa192218e5276fffe009fbc227c1d075f4b
Contents?: true
Size: 372 Bytes
Versions: 4
Compression:
Stored size: 372 Bytes
Contents
#!/usr/bin/env ruby require_relative '../lib/MESH' mesh_tree = MESH::Tree.new tr = MESH::Translator.new(MESH::Translator.enus_to_engb) mesh_tree.each do |h| puts "*NEWRECORD" puts "MH = #{tr.translate(h.original_heading)}" puts "MS = #{tr.translate(h.summary)}" h.entries.each { |e| puts "ENTRY = #{tr.translate(e)}" } puts "UI = #{h.unique_id}" puts '' end
Version data entries
4 entries across 4 versions & 1 rubygems