Sha256: f4bf71e681485b9e9b83533b235731c70dd7541f8a2c28d8f96d76695219e234

Contents?: true

Size: 280 Bytes

Versions: 4

Compression:

Stored size: 280 Bytes

Contents

# frozen_string_literal: true

module Blocks
  class BlockPlaceholder
    attr_accessor :block_definition

    def initialize(block_definition)
      self.block_definition = block_definition
    end

    def to_s
      "PLACEHOLDER_FOR_#{block_definition.name} "
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blocks-4.0.1 lib/blocks/renderers/block_placeholder.rb
blocks-4.0.0 lib/blocks/renderers/block_placeholder.rb
blocks-4.0.0.rc2 lib/blocks/renderers/block_placeholder.rb
blocks-4.0.0.rc1 lib/blocks/renderers/block_placeholder.rb