Sha256: 3aa34ef36ec8b9b4746250ec66fc9897f7f71d50da2abbad0eecf4d2eea82a67

Contents?: true

Size: 499 Bytes

Versions: 1

Compression:

Stored size: 499 Bytes

Contents

# -*- encoding: utf-8 -*-

# A processor that does nothing, used in the event that
# {OnStomp::Client client} +processor+ attribute is set to +nil+
class OnStomp::Components::NilProcessor
  # Creates a new processor
  def initialize(client); end
  # Always returns +false+
  # @return [false]
  def running?; false; end
  # Does nothing
  # @return [self]
  def start; self; end
  # Does nothing
  # @return [self]
  def join; self; end
  # Does nothing
  # @return [self]
  def stop; self; end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
onstomp-1.0.0pre1 lib/onstomp/components/nil_processor.rb