lib/lolita/configuration/tab/default.rb in lolita-3.1.9 vs lib/lolita/configuration/tab/default.rb in lolita-3.1.10
- old
+ new
@@ -1,26 +1,26 @@
-module Lolita
- module Configuration
- module Tab
- class Default < Lolita::Configuration::Tab::Base
-
- 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
+module Lolita
+ module Configuration
+ module Tab
+ class Default < Lolita::Configuration::Tab::Base
+
+ 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
end
\ No newline at end of file