Class: Hive::Messages::NilJob
- Inherits:
-
Object
- Object
- Hive::Messages::NilJob
- Defined in:
- lib/hive/messages/nil_job.rb
Instance Attribute Summary collapse
-
#exception ⇒ Object
Returns the value of attribute exception.
Instance Method Summary collapse
-
#initialize(exception) ⇒ NilJob
constructor
A new instance of NilJob.
- #nil? ⇒ Boolean
Constructor Details
#initialize(exception) ⇒ NilJob
Returns a new instance of NilJob.
6 7 8 |
# File 'lib/hive/messages/nil_job.rb', line 6 def initialize(exception) @message = exception end |
Instance Attribute Details
#exception ⇒ Object
Returns the value of attribute exception.
4 5 6 |
# File 'lib/hive/messages/nil_job.rb', line 4 def exception @exception end |
Instance Method Details
#nil? ⇒ Boolean
10 11 12 |
# File 'lib/hive/messages/nil_job.rb', line 10 def nil? true end |