lib/volt/models/array_model.rb
def append(model)
      promise, model = self.send(:<<, model)

      # Return a promise if one doesn't exist
      promise ||= Promise.new.resolve(model)

      promise
    end
# Works like << except it returns a promise
Works like << except it returns a promise
Works like << except it returns a promise
def append(model)
      promise, model = self.send(:<<, model)
      promise ||= Promise.new.resolve(model)
      promise
    end
def append ( model ) promise , model = self . send ( :<< , model ) promise ||= Promise . new . resolve ( model ) promise end
Works like << except it returns a promise
Works like << except it returns a promise
# Return a promise if one doesn't exist
model