Module: BEL::RdfRepository::Plugins::Memory
- Extended by:
- ClassMethods
- Defined in:
- lib/bel/rdf_repository/plugins/memory.rb
Constant Summary collapse
- NAME =
'In-memory RDF Repository'
- DESCRIPTION =
'An in-memory repository provided by default in RDF.rb.'
Class Method Summary collapse
Methods included from ClassMethods
Class Method Details
.create_repository(options = {}) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/bel/rdf_repository/plugins/memory.rb', line 10 def self.create_repository( = {}) require 'rdf' require 'rdf/mongo' RDF::Repository.new() end |
.description ⇒ Object
21 22 23 |
# File 'lib/bel/rdf_repository/plugins/memory.rb', line 21 def self.description DESCRIPTION end |
.name ⇒ Object
17 18 19 |
# File 'lib/bel/rdf_repository/plugins/memory.rb', line 17 def self.name NAME end |