Class: Aruba::CommandMonitor::DefaultLastCommandStarted

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

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missingObject



36
37
38
# File 'lib/aruba/platforms/command_monitor.rb', line 36

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

Instance Method Details

#empty?Boolean

Returns:

  • (Boolean)


32
33
34
# File 'lib/aruba/platforms/command_monitor.rb', line 32

def empty?
  true
end

#respond_to_missing?Boolean

Returns:

  • (Boolean)


40
41
42
# File 'lib/aruba/platforms/command_monitor.rb', line 40

def respond_to_missing?(*)
  true
end