Class: CARPS::Test::Mutate
- Inherits:
-
Object
- Object
- CARPS::Test::Mutate
- Includes:
- DRbUndumped
- Defined in:
- lib/carps/util/process.rb
Instance Method Summary collapse
-
#initialize ⇒ Mutate
constructor
A new instance of Mutate.
- #mutate! ⇒ Object
- #working? ⇒ Boolean
- #works? ⇒ Boolean
Constructor Details
#initialize ⇒ Mutate
Returns a new instance of Mutate.
124 125 126 127 |
# File 'lib/carps/util/process.rb', line 124 def initialize @works = "WORK IT DOES NOT!" @working = false end |
Instance Method Details
#mutate! ⇒ Object
129 130 131 132 |
# File 'lib/carps/util/process.rb', line 129 def mutate! @works = "It works!" @working = true end |
#working? ⇒ Boolean
138 139 140 |
# File 'lib/carps/util/process.rb', line 138 def working? @working end |
#works? ⇒ Boolean
134 135 136 |
# File 'lib/carps/util/process.rb', line 134 def works? @works end |