Fix module name error

This commit is contained in:
renyijiu 2019-06-30 17:23:08 +08:00
parent b7074ed9fd
commit d4d25c84f0
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ module RuCaptcha
length = config.length length = config.length
unless length.in?(3..7) unless length.in?(3..7)
raise Rucaptcha::Errors::Configuration, 'length config error, value must in 3..7' raise RuCaptcha::Errors::Configuration, 'length config error, value must in 3..7'
end end
strikethrough = config.strikethrough ? 1 : 0 strikethrough = config.strikethrough ? 1 : 0

View File

@ -1,4 +1,4 @@
module Rucaptcha module RuCaptcha
module Errors module Errors
class Configuration < StandardError; end class Configuration < StandardError; end
end end