14 lines
243 B
Ruby
Raw Normal View History

# typed: strict
# frozen_string_literal: true
2016-07-04 16:10:24 +01:00
class Cleaner
private
undef executable_path?
sig { params(path: Pathname).returns(T::Boolean) }
2016-07-04 16:10:24 +01:00
def executable_path?(path)
path.mach_o_executable? || path.text_executable?
end
end