Parent

Methods

Included Modules

Monkeybars::TaskProcessor::Runnable

Public Class Methods

new(explicit_block=nil, &block) click to toggle source
# File lib/monkeybars/task_processor.rb, line 41
def initialize(explicit_block=nil, &block)
  @block = explicit_block || block
end

Public Instance Methods

run() click to toggle source
# File lib/monkeybars/task_processor.rb, line 45
def run
  @block.call
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.