Method: T::Enum.values
- Defined in:
- lib/sorbet/eraser/t/enum.rb
.values ⇒ Object
Enum class methods ##
9 10 11 12 13 14 15 |
# File 'lib/sorbet/eraser/t/enum.rb', line 9 def self.values if @values.nil? raise "Attempting to access values of #{self.class} before it has been initialized." \ " Enums are not initialized until the 'enums do' block they are defined in has finished running." end @values end |