method

parse_numeric

ruby latest stable - Class: Bundler::Thor::Arguments

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

parse_numeric(name)
private

Check if the peek is numeric format and return a Float or Integer. Check if the peek is included in enum if enum is provided. Otherwise raises an error.