Class: Mongrel2::Config::Directory

Inherits:
Object
  • Object
show all
Defined in:
lib/mongrel2/config/directory.rb

Overview

Mongrel2 Directory (Dir) configuration class

Instance Method Summary collapse

Instance Method Details

#validateObject

Sequel validation callback: add errors if the record is invalid.



17
18
19
20
21
22
# File 'lib/mongrel2/config/directory.rb', line 17

def validate
	self.validate_base
	self.validate_index_file
	self.validate_default_ctype
	self.validate_cache_ttl
end