| Class | Uttk::Strategies::Sleep |
| In: |
lib/uttk/strategies/Sleep.rb
|
| Parent: | Strategy |
# File lib/uttk/strategies/Sleep.rb, line 15 def delay=(other) other = other.to_f if other >= 0 @delay = other else raise(ArgumentError, "`#{other}' - sleep delay must be >= 0") end end