Ran rubocop autocorrect

This commit is contained in:
2020-12-02 17:37:48 -06:00
parent aa30ff73d0
commit 95bea199ed
116 changed files with 758 additions and 575 deletions

View File

@@ -1,4 +1,5 @@
# frozen_string_literal: true
class IMICFPS
module Scripting
class SandBox
@@ -10,7 +11,7 @@ class IMICFPS
execute(script.source) if source_safe?(script.source)
end
def source_safe?(source)
def source_safe?(_source)
true # TODO: implement whitelisting/safety checks
end
@@ -18,9 +19,7 @@ class IMICFPS
instance_eval(source)
end
def entity
@entity
end
attr_reader :entity
end
end
end
end