Attempt
Inherits Struct < Value < Object
Constants
FOREVER = -1_i64
VERSION = "0.1.0"
Constructors
new(times : Int::Primitive | Nil = nil, wait : Number | Nil = nil, prewait : Number | Nil = nil)
SourceClass methods
prewait(value : Number)
Sourcesleep(klass : ::Calling::Any.class)
Sourcesleep(seconds : Float64)
Sourcestart
Sourcetimes(value : Int::Primitive)
Sourcewait(value : Number)
SourceInstance methods
dup
Returns a shallow copy of this object.
Because Value is a value type, this method returns self,
which already involves a shallow copy of this object because
value types are passed by value.
new_context
Sourceprewait(seconds : Number)
Sourceprewait
Sourceprewait=(seconds : Number | Nil)
Sourcestart
Sourcetimes(n : Int::Primitive)
Sourcetimes
Sourcetimes=(n : Int::Primitive | Nil)
Sourcewait(seconds : Number)
Sourcewait
Sourcewait=(seconds : Number | Nil)
Source