mirror of
https://github.com/thoughtbot/factory_bot.git
synced 2022-11-09 11:43:51 -05:00
Revert "Remove redundant const_missing class method."
This reverts commit df5471078c
.
This commit is contained in:
parent
aecc8a87ee
commit
4b06427cf4
1 changed files with 4 additions and 0 deletions
|
@ -17,5 +17,9 @@ module FactoryBot
|
||||||
def send(symbol, *args, &block)
|
def send(symbol, *args, &block)
|
||||||
__send__(symbol, *args, &block)
|
__send__(symbol, *args, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def self.const_missing(name)
|
||||||
|
::Object.const_get(name)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue