mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 13:44:59 +00:00
Yet more Rubocopping
This commit is contained in:
@@ -44,7 +44,7 @@ module BattleDebugMenuCommands
|
||||
|
||||
def self.hasFunction?(option, function)
|
||||
option_hash = @@commands[option]
|
||||
return option_hash && option_hash.keys.include?(function)
|
||||
return option_hash&.has_key?(function)
|
||||
end
|
||||
|
||||
def self.getFunction(option, function)
|
||||
|
||||
Reference in New Issue
Block a user