Class: Delayer::Deferred::Response::Base
- Inherits:
-
Object
- Object
- Delayer::Deferred::Response::Base
- Defined in:
- lib/delayer/deferred/response.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ Base
constructor
A new instance of Base.
- #ng? ⇒ Boolean
Constructor Details
#initialize(value) ⇒ Base
Returns a new instance of Base.
6 7 8 |
# File 'lib/delayer/deferred/response.rb', line 6 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
5 6 7 |
# File 'lib/delayer/deferred/response.rb', line 5 def value @value end |
Instance Method Details
#ng? ⇒ Boolean
10 11 12 |
# File 'lib/delayer/deferred/response.rb', line 10 def ng? !ok? end |