Parent

Included Modules

Class/Module Index [+]

Quicksearch

Celluloid::TaskSet

Public Class Methods

new() click to toggle source
# File lib/celluloid/tasks.rb, line 93
def initialize
  @tasks = Set.new
end

Public Instance Methods

<<(task) click to toggle source
# File lib/celluloid/tasks.rb, line 97
def <<(task)
  @tasks += [task]
end
delete(task) click to toggle source
# File lib/celluloid/tasks.rb, line 101
def delete(task)
  @tasks -= [task]
end
each(&blk) click to toggle source
# File lib/celluloid/tasks.rb, line 105
def each(&blk)
  @tasks.each(&blk)
end
empty?() click to toggle source
# File lib/celluloid/tasks.rb, line 113
def empty?
  @tasks.empty?
end
first() click to toggle source
# File lib/celluloid/tasks.rb, line 109
def first
  @tasks.first
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.