Sha256: 91808b9f98074ffbb29ad098ad1e8a5d6ae7e6f95e0071d8551c5162b251208c
Contents?: true
Size: 357 Bytes
Versions: 1
Compression:
Stored size: 357 Bytes
Contents
# encoding: utf-8 module PagesCore module Templates # Configuration for the blocks on an individual template class BlockConfiguration attr_reader :name, :title, :description, :optional, :enforced def small? (@size == :small) ? true : false end def large? small? ? false : true end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pages_core-3.5.1 | lib/pages_core/templates/block_configuration.rb |