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