Class: DMap::Validations::Key
- Inherits:
-
Object
- Object
- DMap::Validations::Key
- Defined in:
- lib/dmap/validations/misc.rb
Instance Attribute Summary collapse
-
#property ⇒ Object
Returns the value of attribute property.
Class Method Summary collapse
Instance Attribute Details
#property ⇒ Object
Returns the value of attribute property.
4 5 6 |
# File 'lib/dmap/validations/misc.rb', line 4 def property @property end |
Class Method Details
.is_valid?(command = nil) ⇒ Boolean
8 9 10 11 |
# File 'lib/dmap/validations/misc.rb', line 8 def self.is_valid?(command=nil) command ||= "true" (command == "true" or command == "false") end |
.property ⇒ Object
6 |
# File 'lib/dmap/validations/misc.rb', line 6 def self.property; true; end |
.validate(command = nil) ⇒ Object
13 14 15 |
# File 'lib/dmap/validations/misc.rb', line 13 def self.validate(command=nil) true end |