class String
Holds the data available for a person. The permission is a regexp giving access to different views and it's blocks
Configuration: adduser_cmd - is called after ldapadduser returns with the username as argument
Public Instance Methods
capitalize_all()
click to toggle source
# File Entities/Person.rb, line 8 def capitalize_all self.split(' ').collect { |s| s.capitalize }.join(' ') end
capitalize_all!()
click to toggle source
# File Entities/Person.rb, line 12 def capitalize_all! self.replace self.capitalize_all end