Class: TypedFields::StringType
- Inherits:
-
Object
- Object
- TypedFields::StringType
- Defined in:
- lib/typed_fields.rb
Instance Method Summary collapse
Instance Method Details
#parse(obj) ⇒ Object
26 27 28 29 |
# File 'lib/typed_fields.rb', line 26 def parse obj return nil if obj.nil? obj.to_s end |