Class: NxtSupport::Enum::Value

Inherits:
String
  • Object
show all
Defined in:
lib/nxt_support/util/enum/value.rb

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ Value

Returns a new instance of Value.



3
4
5
# File 'lib/nxt_support/util/enum/value.rb', line 3

def initialize(value)
  super(value.to_s).freeze
end