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