operator [] method

dynamic operator [](
  1. String attribute
)

Get an attribute by name.

Implementation

operator[] (String attribute) {
	return attributes[attribute];
}