Croupier::TaskRegistry
Inherits Enumerable < Reference < Object
Every registered task, keyed by each of its outputs (or by id for
tasks without outputs), plus an index by task id. The value of
TaskManager.tasks.
Read-only for users: the task set changes only through Task.new
and TaskManager.remove_task, which lock, refuse changes during a
run and keep both indexes in step.
Instance methods
[](*args, **options)
Source[](*args, **options, &)
Source[]?(*args, **options)
Source[]?(*args, **options, &)
Sourceeach_key(*args, **options)
Sourceeach_key(*args, **options, &)
Sourceeach_value(*args, **options)
Sourceeach_value(*args, **options, &)
Sourceempty?(*args, **options)
Sourceempty?(*args, **options, &)
Sourcefetch(*args, **options)
Sourcefetch(*args, **options, &)
Sourcehas_key?(*args, **options)
Sourcehas_key?(*args, **options, &)
Sourceinspect(io : IO) : Nil
Appends a String representation of this object which includes its class name, its object address and the values of all instance variables.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).inspect # => #<Person:0x10fd31f20 @name="John", @age=32>
keys(*args, **options)
Sourcekeys(*args, **options, &)
Sourcesize(*args, **options)
Sourcesize(*args, **options, &)
Sourcevalues(*args, **options)
Sourcevalues(*args, **options, &)
Source