Use String#gsub instead of String#sub for rbx
This commit is contained in:
parent
e699e44aaf
commit
5cc20f9b91
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ module Mutant
|
|||
# @api private
|
||||
#
|
||||
def self.expand(name)
|
||||
name.to_s.sub(REGEXP, METHOD_POSTFIX_EXPANSIONS).to_sym
|
||||
name.to_s.gsub(REGEXP, METHOD_POSTFIX_EXPANSIONS).to_sym
|
||||
end
|
||||
private_class_method :expand
|
||||
|
||||
|
|
Loading…
Reference in a new issue