Constants are a part of your public interface. They can be an efficient way to share static values. But what if you don’t want to share? Some constants, like some methods, are intended for internal use only.
To find the constants associated with a class or module you can call
constants on it.
Float class provides a lot of useful information via constants.