Sha256: c422cc73334ed46e671b8ab3f29f7832da100524adf330db5cf6ea735d6ea3b6
Contents?: true
Size: 381 Bytes
Versions: 4
Compression:
Stored size: 381 Bytes
Contents
module MotionPrime class BaseHeaderSection < BaseSection include CellSectionMixin DEFAULT_HEADER_HEIGHT = 20 element :title, text: proc { @options[:title] } element :hint, text: proc { @options[:hint] } def initialize(options = {}) @cell_type = :header super end def render_element?(name) @options[name].present? end end end
Version data entries
4 entries across 4 versions & 1 rubygems