Sha256: ac6a906459a35f0923053efc67a636c2c07a3e074e4eb321c5e8797b7fbe85d7
Contents?: true
Size: 334 Bytes
Versions: 4
Compression:
Stored size: 334 Bytes
Contents
= turbo_stream.update(:result) do %h3{class: "text-lg"} 检测结果 %div{class: "bg-yellow-100 text-yellow-700 p-4 rounded-lg"} %pre{class: "whitespace-pre-wrap"} - if @r.is_a?(MatchData) = @r.pretty_inspect - else = JSON.pretty_generate(@r.is_a?(CensorBear::Result) ? JSON.parse(@r.to_json) : @r)
Version data entries
4 entries across 4 versions & 1 rubygems