Class: NxtSupport::Enum::Value
- Inherits:
-
String
- Object
- String
- NxtSupport::Enum::Value
- Defined in:
- lib/nxt_support/util/enum/value.rb
Instance Method Summary collapse
-
#initialize(value) ⇒ Value
constructor
A new instance of Value.
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 |