Class: NotUser
- Inherits:
-
Object
- Object
- NotUser
- Defined in:
- lib/spec/virtualizees/not_user.rb
Instance Method Summary collapse
-
#initialize(value) ⇒ NotUser
constructor
A new instance of NotUser.
- #negate ⇒ Object
Constructor Details
#initialize(value) ⇒ NotUser
Returns a new instance of NotUser.
2 3 4 |
# File 'lib/spec/virtualizees/not_user.rb', line 2 def initialize value @value = value end |
Instance Method Details
#negate ⇒ Object
6 7 8 |
# File 'lib/spec/virtualizees/not_user.rb', line 6 def negate not @value end |