Class: Communist::NullServer

Inherits:
Object
  • Object
show all
Defined in:
lib/communist/null_server.rb

Overview

Provides a dummy server.

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missingObject



7
8
9
# File 'lib/communist/null_server.rb', line 7

def method_missing(*)
  return nil
end

Instance Method Details

#nil?Boolean

Returns:

  • (Boolean)


11
# File 'lib/communist/null_server.rb', line 11

def nil?; true; end