Class: ValidationFactor

Inherits:
Object
  • Object
show all
Defined in:
lib/crowd/default.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, value = nil) ⇒ ValidationFactor

Returns a new instance of ValidationFactor.



47
48
49
50
# File 'lib/crowd/default.rb', line 47

def initialize(name = nil, value = nil)
  @name = name
  @value = value
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



44
45
46
# File 'lib/crowd/default.rb', line 44

def name
  @name
end

#valueObject

Returns the value of attribute value.



45
46
47
# File 'lib/crowd/default.rb', line 45

def value
  @value
end