Sha256: cab14f5a8f1a000b8a28b1b4ba1f97ce71794443d32d411199995450fc391fbd
Contents?: true
Size: 316 Bytes
Versions: 10
Compression:
Stored size: 316 Bytes
Contents
module Tenon module TenonContent module RowTypes class FullWidthImage < TenonContent::RowTypes::Base class << self def add_pieces_to(row) row.pieces.build(piece_type: 'Image', position: 0, size: 12) if row.pieces.empty? end end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems