# File lib/org-ruby/parser.rb, line 131 def check_include_file(file_path) can_be_included = File.exists? file_path if not ENV['ORG_RUBY_INCLUDE_ROOT'].nil? # Ensure we have full paths root_path = File.expand_path ENV['ORG_RUBY_INCLUDE_ROOT'] file_path = File.expand_path file_path # Check if file is in the defined root path and really exists if file_path.slice(0, root_path.length) != root_path can_be_included = false end end can_be_included end