mirror of
https://github.com/thoughtbot/factory_bot.git
synced 2022-11-09 11:43:51 -05:00
Follow Ruby conventions of double-under's on each side of the method name
This commit is contained in:
parent
5b9aa488f6
commit
0aadd703a5
2 changed files with 3 additions and 3 deletions
|
@ -66,7 +66,7 @@ module FactoryGirl
|
||||||
end
|
end
|
||||||
|
|
||||||
def override_names
|
def override_names
|
||||||
@evaluator.__overrides.keys
|
@evaluator.__override_names__
|
||||||
end
|
end
|
||||||
|
|
||||||
def hash_instance_methods_to_respond_to
|
def hash_instance_methods_to_respond_to
|
||||||
|
|
|
@ -51,8 +51,8 @@ module FactoryGirl
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def __overrides
|
def __override_names__
|
||||||
@overrides
|
@overrides.keys
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue