Class: Rpromise::Handler
- Inherits:
-
Struct
- Object
- Struct
- Rpromise::Handler
- Defined in:
- lib/rpromise.rb
Instance Attribute Summary collapse
-
#on_rejected ⇒ Object
Returns the value of attribute on_rejected.
-
#on_resolved ⇒ Object
Returns the value of attribute on_resolved.
-
#reject ⇒ Object
Returns the value of attribute reject.
-
#resolve ⇒ Object
Returns the value of attribute resolve.
Instance Attribute Details
#on_rejected ⇒ Object
Returns the value of attribute on_rejected
11 12 13 |
# File 'lib/rpromise.rb', line 11 def on_rejected @on_rejected end |
#on_resolved ⇒ Object
Returns the value of attribute on_resolved
11 12 13 |
# File 'lib/rpromise.rb', line 11 def on_resolved @on_resolved end |
#reject ⇒ Object
Returns the value of attribute reject
11 12 13 |
# File 'lib/rpromise.rb', line 11 def reject @reject end |
#resolve ⇒ Object
Returns the value of attribute resolve
11 12 13 |
# File 'lib/rpromise.rb', line 11 def resolve @resolve end |