Sha256: fd8a1d26c68d88eebd0925ea8f00678efbc05479acf3a376713b121fbfb71b6e

Contents?: true

Size: 281 Bytes

Versions: 1

Compression:

Stored size: 281 Bytes

Contents

module VCLog

  #
  class Release
    attr :tag
    attr :changes
    #
    def initialize(tag, changes)
      @tag = tag
      @changes = changes
    end

    def to_h
      { :tag => tag.to_h, :changes => changes }
    end

    def to_json
      to_h.to_json
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vclog-1.2 lib/vclog/release.rb