class DMap::Validations::Key

Attributes

property[RW]

Public Class Methods

is_valid?(command=nil) click to toggle source
# File lib/dmap/validations/misc.rb, line 8
def self.is_valid?(command=nil)
  command ||= "true"
  (command == "true" or command == "false")
end
property() click to toggle source
# File lib/dmap/validations/misc.rb, line 6
def self.property; true; end
validate(command=nil) click to toggle source
# File lib/dmap/validations/misc.rb, line 13
def self.validate(command=nil)
  true
end