Sha256: da3d455b78ed1bc72b05b042ba267ce813a07cd103d86b295a1b2317c4b8d75c

Contents?: true

Size: 350 Bytes

Versions: 4

Compression:

Stored size: 350 Bytes

Contents

class MonoRepoDeps::Task
  include MonoRepoDeps::Mixins

  attr_reader :name, :on, :block

  sig do
    params(
      name: Symbol,
      on: Symbol,
      block: T.proc.params(args: T.anything).returns(T.anything),
    )
    .void
  end
  def initialize(name:, on:, block:)
    @name = name.to_sym
    @on = on
    @block = block

    nil
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mono_repo_deps-0.2.1 lib/mono_repo_deps/task.rb
mono_repo_deps-0.2.0 lib/mono_repo_deps/task.rb
mono_repo_deps-0.1.14 lib/mono_repo_deps/task.rb
mono_repo_deps-0.1.13 lib/mono_repo_deps/task.rb