Sha256: 0ca0ac8d0b16e5f5715032847c8165a70af1abffda60f90e2aa927e0c76311ff
Contents?: true
Size: 440 Bytes
Versions: 25
Compression:
Stored size: 440 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, size: 'eight') end end end end end end end
Version data entries
25 entries across 25 versions & 1 rubygems