Sha256: a449dc532b947a7d7058c4dad9c6240ab50e7e4e33779616c8875e0147863af8

Contents?: true

Size: 221 Bytes

Versions: 4

Compression:

Stored size: 221 Bytes

Contents

require 'immutable-struct'

module Ruby
  module Builder
    # @param [Integer] svn
    # @param [String] git
    Revision = ImmutableStruct.new(:svn, :git) do
      def name
        "r#{svn}"
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-builder-0.1.3 lib/ruby/builder/revision.rb
ruby-builder-0.1.2 lib/ruby/builder/revision.rb
ruby-builder-0.1.1 lib/ruby/builder/revision.rb
ruby-builder-0.1.0 lib/ruby/builder/revision.rb