Sha256: 110477c09f49c8ffbd828d8a4eec7dc8b90badd9dd3c802aea26818a1650857d
Contents?: true
Size: 535 Bytes
Versions: 6
Compression:
Stored size: 535 Bytes
Contents
module Mercurial # # The class represents a single line of the Mercurial 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