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