Class: Bparity::Formal::Assumptions::DynamicCodeDetector

Inherits:
Object
  • Object
show all
Defined in:
lib/bparity/formal/assumptions.rb

Constant Summary collapse

FORBIDDEN =
%i[eval binding class_eval module_eval instance_eval].freeze

Instance Method Summary collapse

Instance Method Details

#scan(paths) ⇒ Object



95
96
97
# File 'lib/bparity/formal/assumptions.rb', line 95

def scan(paths)
  Array(paths).flat_map { |path| scan_file(path) }
end