Sha256: a8fba20df0494973ae671355135bb28f85c679b82f5e3b52f989c4a978b6089d
Contents?: true
Size: 525 Bytes
Versions: 6
Compression:
Stored size: 525 Bytes
Contents
module Mercurial # # The class represents a single line of the blame output. # class BlameLine # Commit author. attr_reader :author # Line number. attr_reader :num # ID of the commit associated with the line. attr_reader :revision # Contents of the line. attr_reader :contents def initialize(attrs={}) @author = attrs[:author] @num = attrs[:num].to_i @revision = attrs[:revision] @contents = attrs[:contents] end end end
Version data entries
6 entries across 6 versions & 1 rubygems