Class: MrDarcy::Promise::State::Resolved

Inherits:
Base
  • Object
show all
Defined in:
lib/mr_darcy/promise/state/resolved.rb

Instance Attribute Summary

Attributes inherited from Base

#stateful

Instance Method Summary collapse

Methods inherited from Base

#initialize, #reject, #rejected?, #resolve, #unresolved?

Constructor Details

This class inherits a constructor from MrDarcy::Promise::State::Base

Instance Method Details

#resolved?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/mr_darcy/promise/state/resolved.rb', line 5

def resolved?
  true
end