Sha256: 1e94ef1c7f97689cea524c7fd7241df37e012b4bcdd42848bde2ccd5239fa703
Contents?: true
Size: 450 Bytes
Versions: 5
Compression:
Stored size: 450 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) private attr_reader :data def number = data.fetch(:number) def content = data.fetch(:content) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems