Sha256: d4bbfac596a87eca083c80adbf71b38a462322e8fc8e8c30b23e3e3bb3ea1765

Contents?: true

Size: 215 Bytes

Versions: 3

Compression:

Stored size: 215 Bytes

Contents

module DepthFirst
  # Base task class
  class Task
    attr_reader :options

    def initialize(options)
      @options = Concurrent::Hash.new.merge(options)
    end

    def perform
      options
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
depth_first-0.0.3 lib/depth_first/task.rb
depth_first-0.0.2 lib/depth_first/task.rb
depth_first-0.0.1 lib/depth_first/task.rb