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