Sha256: 210076b834d17e2993134f9d9243243b80589351d97b0c8b40d35a938a2c3a88
Contents?: true
Size: 437 Bytes
Versions: 4
Compression:
Stored size: 437 Bytes
Contents
# frozen_string_literal: true require "forwardable" module Milestoner # Wraps the Git Kit Commit for presentation purposes. class Commit extend Forwardable delegate [*GitPlus::Commit.members, :fixup?, :squash?] => :source def initialize source @source = source end def subject_author delimiter: " - " "#{subject}#{delimiter}#{author_name}" end private attr_reader :source end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
milestoner-11.2.0 | lib/milestoner/commit.rb |
milestoner-11.1.1 | lib/milestoner/commit.rb |
milestoner-11.1.0 | lib/milestoner/commit.rb |
milestoner-11.0.0 | lib/milestoner/commit.rb |