Fix the Ruby hash alignment issue with 'A::B'