Sha256: ded08852659ba5e7625f949d3e2c7cc05a5bb715586698948604f83313458cae

Contents?: true

Size: 220 Bytes

Versions: 6

Compression:

Stored size: 220 Bytes

Contents

module DepthFirst
  # Base task class
  class Task
    attr_reader :options

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

    def perform
      {}
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
depth_first-1.1.0 lib/depth_first/task.rb
depth_first-1.0.2 lib/depth_first/task.rb
depth_first-1.0.1 lib/depth_first/task.rb
depth_first-1.0.0 lib/depth_first/task.rb
depth_first-0.0.6 lib/depth_first/task.rb
depth_first-0.0.4 lib/depth_first/task.rb