lib/avro/builder/file_handler.rb in avro-builder-0.9.0 vs lib/avro/builder/file_handler.rb in avro-builder-0.10.0
- old
+ new
@@ -17,11 +17,9 @@
def read_file(name)
File.read(find_file(name))
end
- private
-
def find_file(name)
# Ensure that the file_name that is searched for begins with a slash (/)
# and ends with a .rb extension. Additionally, if the name contains
# a namespace then ensure that periods (.) are replaced by forward
# slashes. E.g. for 'test.example' search for '/test/example.rb'.