Sha256: fea3ea404a2732d74ba769895e251964b6c345632b1d6eea5952a6e000ba44e9

Contents?: true

Size: 309 Bytes

Versions: 2

Compression:

Stored size: 309 Bytes

Contents

require 'yaml'

@history = YAML.load_file(File.join(File.dirname(__FILE__), 'history.yaml')).each do |entry|
  class << entry
    def to_s
      %{<h1 id="#{self['Version']}">Version #{self['Version']} (#{self['Date']})</h1>\n\n#{self['Record']}}
    end

    def to_html
      to_s.to_html
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-vpi-16.0.0 doc/history.rb
ruby-vpi-16.0.1 doc/history.rb