Class: StrConverter
- Inherits:
-
Object
- Object
- StrConverter
- Defined in:
- lib/rast/converters/str_converter.rb
Overview
Converts string into number
Instance Method Summary collapse
Instance Method Details
#convert(string) ⇒ Object
5 6 7 |
# File 'lib/rast/converters/str_converter.rb', line 5 def convert(string) string unless string == 'nil' end |