Class: EnumX::Registry

Inherits:
Hash
  • Object
show all
Defined in:
lib/enum_x.rb

Overview

The enum registry. Provides indifferent access.

Instance Method Summary collapse

Instance Method Details

#[](key) ⇒ Object



52
53
54
# File 'lib/enum_x.rb', line 52

def [](key)
  super key.to_s
end