In Python, there is a built-in method called `__getitem__`, which you can add to your classes to make a custom implementation of getting an item. For example:

```
class containerlist (object):

  def __init__(self, *args):
      self.container = [x for x in args]

  def __getitem__(self, i):
      return self.container[i]

```

In Ruby, is there an equivalent for this or other Python built-ins like `__len__` or `__contains__`?