Ruby 2.4 preview separates Integer from its storage representation
engineeringrubyintegerscompatibilityRuby 2.4 preview 3 makes Integer the visible class for small and large integers. Native extensions still need to distinguish their internal representations, and the preview exposes that compatibility boundary before release.