class DelayedExecution::BlockRunnable

Public Class Methods

new(&block) click to toggle source
# File lib/project/delayed_execution.rb, line 8
def initialize(&block)
  @block = block
end

Public Instance Methods

run() click to toggle source
# File lib/project/delayed_execution.rb, line 12
def run
  @block.call
end