Sha256: eb8473dc37ec5a61b6c402ec2882b324e14f29b63cec5303344e9312fe602786
Contents?: true
Size: 398 Bytes
Versions: 58
Compression:
Stored size: 398 Bytes
Contents
module Tenon module TenonContent module RowTypes class TwoColumnText < 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) end end end end end end end
Version data entries
58 entries across 58 versions & 1 rubygems