Class: Hotspots::OptionBasedExit::Noop

Inherits:
Object
  • Object
show all
Defined in:
lib/hotspots/exit_strategy.rb,
lib/hotspots/option_based_exit.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Noop

Returns a new instance of Noop.



34
35
36
37
# File 'lib/hotspots/option_based_exit.rb', line 34

def initialize(options = {})
  @message = ""
  @code    = nil
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



32
33
34
# File 'lib/hotspots/option_based_exit.rb', line 32

def code
  @code
end

#messageObject (readonly)

Returns the value of attribute message.



32
33
34
# File 'lib/hotspots/option_based_exit.rb', line 32

def message
  @message
end

Instance Method Details

#performObject



39
40
# File 'lib/hotspots/option_based_exit.rb', line 39

def perform
end