Sha256: 59e988eaf857c30ec04b6b350da28bfbc9ecba99011fc235f0626abf8a7fa1d6
Contents?: true
Size: 676 Bytes
Versions: 18
Compression:
Stored size: 676 Bytes
Contents
module KirguduBase module DynamicPages class PageTab < ::KirguduBase::DynamicPages::PageElement mergeable_attributes :label, :is_active, :lazy_select, :elements fixable_attributes :elements validates_presence_of :label validates_inclusion_of :is_active, in: [:true, :false], allow_nil: true validates_inclusion_of :lazy_select, in: [:true, :false], allow_nil: true def initialize(options = {}) self.label = nil self.is_active = :false self.lazy_select = :false self.elements = nil super(options) end attr_accessor :label attr_accessor :is_active attr_accessor :lazy_select attr_accessor :elements end end end
Version data entries
18 entries across 18 versions & 1 rubygems