Class: Unit::Types::String
- Inherits:
-
Object
- Object
- Unit::Types::String
- Defined in:
- lib/unit-ruby/types/string.rb
Class Method Summary collapse
Class Method Details
.cast(value) ⇒ Object
4 5 6 |
# File 'lib/unit-ruby/types/string.rb', line 4 def self.cast(value) value&.to_s end |