Module: RDFResource
- Defined in:
- lib/rdf-resource.rb,
lib/rdf-resource/resource.rb,
lib/rdf-resource/configuration.rb
Defined Under Namespace
Classes: Configuration, Resource
Constant Summary
collapse
- AGENT =
RDF::URI.parse('https://rubygems.org/gems/rdf-resource')
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.configuration ⇒ Object
14
15
16
|
# File 'lib/rdf-resource.rb', line 14
def self.configuration
@configuration ||= Configuration.new
end
|
Class Method Details
22
23
24
|
# File 'lib/rdf-resource.rb', line 22
def self.configure
yield(configuration)
end
|
.reset ⇒ Object
18
19
20
|
# File 'lib/rdf-resource.rb', line 18
def self.reset
@configuration = Configuration.new
end
|