class DMap::Validations::Writer
Attributes
property[RW]
Public Class Methods
is_valid?(command)
click to toggle source
# File lib/dmap/validations/access.rb, line 33 def self.is_valid?(command) (command == "protected" or command == "public" or command == "private") end
property()
click to toggle source
# File lib/dmap/validations/access.rb, line 31 def self.property; true; end
validate(command=nil)
click to toggle source
# File lib/dmap/validations/access.rb, line 37 def self.validate(command=nil) command ||= "protected" ":" + command end