diff --git a/lib/rdoc/rd/block_parser.ry b/lib/rdoc/rd/block_parser.ry index a56a866593..d5322aaad2 100644 --- a/lib/rdoc/rd/block_parser.ry +++ b/lib/rdoc/rd/block_parser.ry @@ -572,7 +572,7 @@ def get_included(file) file_name = File.join dir, file if File.exist? file_name then - included = IO.readlines file_name + included = File.readlines file_name break end end