Module: Nio::Formattable::ClassMethods
- Defined in:
- lib/nio/fmt.rb
Instance Method Summary collapse
-
#nio_read(txt, fmt = Fmt.default) ⇒ Object
This is the method available in all formattable clases to read a formatted value from a text string into a value the class, according to the optional format passed.
Instance Method Details
#nio_read(txt, fmt = Fmt.default) ⇒ Object
This is the method available in all formattable clases to read a formatted value from a text string into a value the class, according to the optional format passed.
1222 1223 1224 1225 |
# File 'lib/nio/fmt.rb', line 1222 def nio_read(txt,fmt=Fmt.default) neutral = fmt.nio_read_formatted(txt) nio_read_neutral neutral end |