Class: Argus::NullNavMonitor

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

Constant Summary collapse

UsageError =
Class.new(StandardError)

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missingObject


8
9
10
# File 'lib/argus/null_nav_monitor.rb', line 8

def method_missing(*)
  # Noop
end

Instance Method Details

#callbackObject


5
6
7
# File 'lib/argus/null_nav_monitor.rb', line 5

def callback(*)
  fail UsageError, "Callbacks are not supported when the NavMonitor is disabled."
end