Sha256: 4281251da0c8cd935ceb546238a2ae3e5faace07ab0ec75ab3513bedb8bdc6de
Contents?: true
Size: 444 Bytes
Versions: 6
Compression:
Stored size: 444 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' module Avm module Scms class CommitInfo enable_immutable immutable_accessor :fixup, :message immutable_accessor :path, type: :array def to_s self.class.name.demodulize + '[' + %w[fixup message].map { |m| [m, send(m)] }.reject { |m| m[1].blank? } .map { |m| m.join(': ') }.join(',') + ']' end end end end
Version data entries
6 entries across 6 versions & 2 rubygems