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