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