Method: APISpec::Namespace#read_file

Defined in:
lib/apispec/namespace.rb

#read_file(path) ⇒ Object

reads the passed file



11
12
13
# File 'lib/apispec/namespace.rb', line 11

def read_file(path)
  eval(File.read(path), binding, path)
end