Sha256: b3eddbaed1a15b193b6cf974018382afba45374f9f521688a0d508104041229f
Contents?: true
Size: 532 Bytes
Versions: 58
Compression:
Stored size: 532 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) row.pieces.build(piece_type: 'Image', position: 1) row.pieces.build(piece_type: 'Image', position: 2) row.pieces.build(piece_type: 'Image', position: 3) end end end end end end end
Version data entries
58 entries across 58 versions & 1 rubygems