Closest Ruby representation of a 'public static final' class variable in Java?
- by Hosh
Given the Java code below, what's the closest you could represent this private static final variable in a Ruby class?
public class DeviceController
{
...
private static final Device myDevice = Device.getDevice("mydevice");
...
public static void main(String args[])
{
...
}
}