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