```ruby
class ArrayList
  def initialize
  end

  def add(element)
  end

  def get(index)
  end

  def set(index, element)
  end

  def length
  end

end```

Create initialize method, create add(element) method
user
```ruby
class ArrayList
  attr_accessor :size, :array
  def initialize(size)
    @size = size
    @array = Array.new(size)
  end

  def add(element)
    @array.push(element)
    return @array.last
  end

  def get(index)
  end

  def set(index, element)
  end

  def length
  end

end```
assistant