Class: Interchange::NullImplementation

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

Direct Known Subclasses

DownImplementation

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *args, &block) ⇒ Object



31
32
33
# File 'lib/interchange.rb', line 31

def method_missing(name, *args, &block)
  args
end

Instance Method Details

#respond_to?(*args) ⇒ Boolean

Returns:

  • (Boolean)


27
28
29
# File 'lib/interchange.rb', line 27

def respond_to?(*args)
  true
end

#up?Boolean

Returns:

  • (Boolean)


23
24
25
# File 'lib/interchange.rb', line 23

def up?
  true
end