Sha256: 534b8f331a83cb7c59b4c53412e63f678dba4887865f83c125291246b62d7383
Contents?: true
Size: 425 Bytes
Versions: 58
Compression:
Stored size: 425 Bytes
Contents
module Tenon module TenonContent module RowTypes class RightWrappedImageWithText < TenonContent::RowTypes::Base class << self def add_pieces_to(row) if row.pieces.empty? row.pieces.build(piece_type: 'Image', position: 0, size: 'four') row.pieces.build(piece_type: 'Text', position: 1) end end end end end end end
Version data entries
58 entries across 58 versions & 1 rubygems