Method: Rea::DBLP::Parser#parse

Defined in:
lib/rea-dblp/rea/dblp/parser.rb

#parse(path) ⇒ Object



10
11
12
13
14
15
16
# File 'lib/rea-dblp/rea/dblp/parser.rb', line 10

def parse(path)
  if path.respond_to?(:to_path)
    parse_text(Path(path).read, path)
  else
    parse_text(path, nil)
  end
end