Class: Aruba::CommandMonitor::DefaultLastCommandStarted

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



38
39
40
# File 'lib/aruba/command_monitor.rb', line 38

def method_missing(*)
  raise NoCommandHasBeenStartedError, 'No last command started available'
end

Instance Method Details

#empty?Boolean

Returns:

  • (Boolean)


34
35
36
# File 'lib/aruba/command_monitor.rb', line 34

def empty?
  true
end

#respond_to_missing?Boolean

Returns:

  • (Boolean)


42
43
44
# File 'lib/aruba/command_monitor.rb', line 42

def respond_to_missing?(*)
  true
end