Sha256: 79e3d43736af6122584693b751de2b6e0e890d016966558d21b4588fd575d2a1
Contents?: true
Size: 530 Bytes
Versions: 36
Compression:
Stored size: 530 Bytes
Contents
module Lolita module Configuration module Tab class Default < Lolita::Configuration::Tab::Base def initialize *args,&block super validate end private def set_default_fields warn("Default fields are not set for DefaultTab.") end def validate options = {} if fields.empty? raise Lolita::NoFieldsGivenError, "At least one field must be specified for default tab." end end end end end end
Version data entries
36 entries across 36 versions & 1 rubygems