Class: Aruba::CommandMonitor::DefaultLastCommandStopped

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

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missingObject



24
25
26
# File 'lib/aruba/command_monitor.rb', line 24

def method_missing(*)
  raise NoCommandHasBeenStoppedError, 'No last command stopped available'
end

Instance Method Details

#empty?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/aruba/command_monitor.rb', line 20

def empty?
  true
end

#respond_to_missing?Boolean

Returns:

  • (Boolean)


28
29
30
# File 'lib/aruba/command_monitor.rb', line 28

def respond_to_missing?(*)
  true
end