Class: Predicate::Tester
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(v) ⇒ Tester
constructor
A new instance of Tester.
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
#value ⇒ Object (readonly)
Returns the value of attribute value.
32 33 34 |
# File 'lib/carat-dev/predicate/predicate.rb', line 32 def value @value end |