Sha256: 7ceca9dbf344f5b781a48e9c3ba19b84daa94ba820430f4832fb5543c9d8e2ac
Contents?: true
Size: 527 Bytes
Versions: 22
Compression:
Stored size: 527 Bytes
Contents
module Tenon module TenonContent module RowTypes class FourColumnText < TenonContent::RowTypes::Base class << self def add_pieces_to(row) if row.pieces.empty? row.pieces.build(piece_type: 'Text', position: 0) row.pieces.build(piece_type: 'Text', position: 1) row.pieces.build(piece_type: 'Text', position: 2) row.pieces.build(piece_type: 'Text', position: 3) end end end end end end end
Version data entries
22 entries across 22 versions & 1 rubygems