Sha256: b7c3f8abb5a9090359b63cc5c953b5f8bc7d38bb6b620249d175558a350e59c0
Contents?: true
Size: 739 Bytes
Versions: 25
Compression:
Stored size: 739 Bytes
Contents
module Tenon module TenonContent module RowTypes class SixColumnImage < TenonContent::RowTypes::Base class << self def add_pieces_to(row) if row.pieces.empty? row.pieces.build(piece_type: 'Image', position: 0, size: 'two') row.pieces.build(piece_type: 'Image', position: 1, size: 'two') row.pieces.build(piece_type: 'Image', position: 2, size: 'two') row.pieces.build(piece_type: 'Image', position: 3, size: 'two') row.pieces.build(piece_type: 'Image', position: 4, size: 'two') row.pieces.build(piece_type: 'Image', position: 5, size: 'two') end end end end end end end
Version data entries
25 entries across 25 versions & 1 rubygems