[Source]
# File lib/rbot/config.rb, line 159 159: def parse(string) 160: raise ArgumentError, "not a float #{string}" unless string =~ /^-?[\d.]+$/ 161: string.to_f 162: end
[Validate]