Class: Hotspots::Exit::Noop
- Inherits:
-
Object
- Object
- Hotspots::Exit::Noop
- Defined in:
- lib/hotspots/exit.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize ⇒ Noop
constructor
A new instance of Noop.
- #perform ⇒ Object
Constructor Details
#initialize ⇒ Noop
Returns a new instance of Noop.
34 35 36 37 |
# File 'lib/hotspots/exit.rb', line 34 def initialize @message = "" @code = nil end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
32 33 34 |
# File 'lib/hotspots/exit.rb', line 32 def code @code end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
32 33 34 |
# File 'lib/hotspots/exit.rb', line 32 def @message end |
Instance Method Details
#perform ⇒ Object
39 40 |
# File 'lib/hotspots/exit.rb', line 39 def perform end |