Sha256: da52f7061772ad2dae8f6e66a4bb309d12ce43d06c4f9b6dda5cd558601b929c

Contents?: true

Size: 935 Bytes

Versions: 5

Compression:

Stored size: 935 Bytes

Contents

module Listen
  # Listens to file system modifications on a either single directory or
  # multiple directories.
  #
  # @param (see Listen::Listener#new)
  #
  # @yield [modified, added, removed] the changed files
  # @yieldparam [Array<String>] modified the list of modified files
  # @yieldparam [Array<String>] added the list of added files
  # @yieldparam [Array<String>] removed the list of removed files
  #
  # @return [Listen::Listener] the listener
  #
  def self.to: (*String dirs,
                ?debug: bool,
                ?wait_for_delay: Integer?,
                ?relative: bool,
                ?force_polling: bool,
                ?ignore: Regexp | Array[Regexp],
                ?ignore!: Regexp,
                ?only: Regexp?,
                ?polling_fallback_message: String?) {
                  (Array[String] modified, Array[String] added, Array[String] removed) -> void
                } -> Listener
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
searchcraft-0.5.2 .gem_rbs_collection/listen/3.2/listen.rbs
searchcraft-0.5.1 .gem_rbs_collection/listen/3.2/listen.rbs
searchcraft-0.5.0 .gem_rbs_collection/listen/3.2/listen.rbs
searchcraft-0.4.2 .gem_rbs_collection/listen/3.2/listen.rbs
searchcraft-0.4.1 .gem_rbs_collection/listen/3.2/listen.rbs