Sha256: d7143ca64c4f1b7eb7a36fdc7aa6454c0a13a99353f24c0c67bd1f5ce608d3c8

Contents?: true

Size: 92 Bytes

Versions: 9

Compression:

Stored size: 92 Bytes

Contents

class Task
  def initialize(&block)
    `setTimeout(function(){#{block.call}}, 0)`
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
beryl-0.3.1 lib/task.rb
beryl-0.3.0 lib/task.rb
beryl-0.2.5 lib/task.rb
beryl-0.2.4 lib/task.rb
beryl-0.2.3 lib/task.rb
beryl-0.2.2 lib/task.rb
beryl-0.2.1 lib/task.rb
beryl-0.2.0 lib/task.rb
beryl-0.1.0 lib/task.rb