Sha256: 48ba56df515c00137531cd95a7e35ccb8cd69cbd33aa6169acdc5111d00839c0
Contents?: true
Size: 520 Bytes
Versions: 11
Compression:
Stored size: 520 Bytes
Contents
# frozen_string_literal: true module Git module Lint module Reporters module Lines class Sentence def initialize data = {} @data = data end def to_s %(#{Line::DEFAULT_INDENT}Line #{number}: "#{content}"\n) end private attr_reader :data def number data.fetch :number end def content data.fetch :content end end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems