Sha256: caf260aa0bf87174b4d7c5a8e10aeade4a559c611f6015114da51b2fe548df3c

Contents?: true

Size: 904 Bytes

Versions: 5

Compression:

Stored size: 904 Bytes

Contents

module Rake
  class TaskLib
    include Rake::DSL
  end

  module DSL
    private

    include FileUtils

    def desc: (String description) -> void
    def directory: (*untyped args) ?{ () -> void } -> void
    def file: (*untyped args) ?{ () -> void } -> void
    def file_create: (*untyped args) ?{ () -> void } -> void
    def import: (*String fns) -> void
    def multitask: (*untyped args) ?{ () -> void } -> void
    def namespace: (?untyped name) ?{ () -> void } -> void
    def rule: (*untyped args) ?{ () -> void } -> void
    def task: (*untyped args) ?{ () -> void } -> void
  end
end

module FileUtils
  def sh: (*String cmd, **untyped options) ?{ (bool, Process::Status) -> void } -> void
  def ruby: (*String args, **untyped options) ?{ (bool, Process::Status) -> void } -> void
  def safe_ln: (*untyped args, **untyped options) -> void
  def split_all: (String path) -> Array[String]
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
searchcraft-0.5.2 .gem_rbs_collection/rake/13.0/rake.rbs
searchcraft-0.5.1 .gem_rbs_collection/rake/13.0/rake.rbs
searchcraft-0.5.0 .gem_rbs_collection/rake/13.0/rake.rbs
searchcraft-0.4.2 .gem_rbs_collection/rake/13.0/rake.rbs
searchcraft-0.4.1 .gem_rbs_collection/rake/13.0/rake.rbs