Sha256: b6802305f3c4288c9c8d6e99e6d7cc9ebd8fdc72697a0478bf8d955eaba779e9

Contents?: true

Size: 356 Bytes

Versions: 2

Compression:

Stored size: 356 Bytes

Contents

require 'yaml'
@history = YAML.load_file(File.join(File.dirname(__FILE__), 'history.yml'))

def format_history_entry aEntry
  output = "h1. Version #{aEntry['Version']} (#{aEntry['Date']})\n\n"

  %w[Summary Acknowledgment Notice Detail].each do |key|
    if content = aEntry[key]
      output << "h2. #{key}\n\n#{content}\n\n"
    end
  end

  output
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-vpi-11.1.1 doc/history.rb
ruby-vpi-12.0.0 doc/history.rb