Class: Predicate::Tester

Inherits:
Object show all
Defined in:
lib/carat-dev/predicate/predicate.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(v) ⇒ Tester

Returns a new instance of Tester.



33
34
35
# File 'lib/carat-dev/predicate/predicate.rb', line 33

def initialize(v)
  @value = v
end

Instance Attribute Details

#valueObject (readonly)

Returns the value of attribute value.



32
33
34
# File 'lib/carat-dev/predicate/predicate.rb', line 32

def value
  @value
end