class Slop::RegexpOption
Cast the option argument to a Regexp.
Public Instance Methods
call(value)
click to toggle source
# File lib/slop/types.rb, line 95 def call(value) Regexp.new(value) end
Cast the option argument to a Regexp.
# File lib/slop/types.rb, line 95 def call(value) Regexp.new(value) end