25 26 27
# File 'lib/opal/promise_patch/promise_patch.rb', line 25 def to_promise Promise.new.resolve(self) end