class DMap::Validations::Reader

Attributes

property[RW]

Public Class Methods

is_valid?(command) click to toggle source
# File lib/dmap/validations/access.rb, line 48
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 46
def self.property; true; end
validate(command=nil) click to toggle source
# File lib/dmap/validations/access.rb, line 52
def self.validate(command=nil)
  command ||= "protected"
  ":" + command
end