Class: Solis::Shape::Reader::File
- Inherits:
-
Object
- Object
- Solis::Shape::Reader::File
- Defined in:
- lib/solis/shape/reader/file.rb
Class Method Summary collapse
Class Method Details
.read(filename, options = {}) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/solis/shape/reader/file.rb', line 7 def self.read(filename, = {}) @filename = filename raise "File not found #{@filename}" unless ::File.exist?(@filename) RDF::Graph.load(@filename, **) end |