class ActiveRecord::FutureResult::Complete
Attributes
Public Class Methods
Source
# File lib/active_record/future_result.rb, line 9 def initialize(result) @result = result end
Public Instance Methods
Source
# File lib/active_record/future_result.rb, line 21 def then(&block) Promise::Complete.new(@result.then(&block)) end