If you create a segmented_control, and try to access one of the segments by index (e.g. control[0]), it currently raises an "uninitialized constant" error. This patch fixes the #[] method so it refers to the correct proxy class for the segments. Cheers!
If you create a segmented_control, and try to access one of the segments by index (e.g. control[0]), it currently raises an "uninitialized constant" error. This patch fixes the #[] method so it refers to the correct proxy class for the segments. Cheers!