lib/gistory/version_change.rb in gistory-0.1.8 vs lib/gistory/version_change.rb in gistory-0.2.0
- old
+ new
@@ -12,7 +12,11 @@
def initialize(commit:, version:)
@commit = commit
@version = version
freeze
end
+
+ def to_s
+ "Version #{version} (on #{date} by #{short_hash})"
+ end
end
end