Sha256: a3b8482511015369f01dc12fb4f1123db6d63f1a1b14213b29e0c249e5f685b7
Contents?: true
Size: 485 Bytes
Versions: 2
Compression:
Stored size: 485 Bytes
Contents
module Lolita module Configuration class DefaultTab < Lolita::Configuration::Tab def initialize *args,&block self.type=:default super end private def set_default_fields warn("Default fields are not set for DefaultTab.") end def validate super if fields.empty? raise Lolita::NoFieldsGivenError, "At least one field must be specified for default tab." end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lolita-3.0.7 | lib/lolita/configuration/tab/default.rb |
lolita-3.0.6 | lib/lolita/configuration/tab/default.rb |