Class: Yoda::ValueExpectation
- Inherits:
-
Expectation
- Object
- Expectation
- Yoda::ValueExpectation
- Defined in:
- lib/yoda.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ ValueExpectation
constructor
A new instance of ValueExpectation.
Constructor Details
#initialize(value) ⇒ ValueExpectation
Returns a new instance of ValueExpectation.
12 13 14 |
# File 'lib/yoda.rb', line 12 def initialize value self.value = value end |
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
11 12 13 |
# File 'lib/yoda.rb', line 11 def value @value end |