Sha256: 77cda3cde08e7455098589ef328d1201d6246cf51086820180e700e205fec642
Contents?: true
Size: 338 Bytes
Versions: 10
Compression:
Stored size: 338 Bytes
Contents
# frozen_string_literal: true module Shipit class OutputChunk < Record belongs_to :task scope :tail, ->(start) { order(id: :asc).where('id > ?', start || 0) } def text=(string) if string.frozen? super(string) else super(string.force_encoding(Encoding::UTF_8).scrub) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems