Class: LD4L::WorksRDF::Configuration
- Inherits:
-
Object
- Object
- LD4L::WorksRDF::Configuration
- Defined in:
- lib/ld4l/works_rdf/configuration.rb
Instance Attribute Summary collapse
-
#base_uri ⇒ Object
Returns the value of attribute base_uri.
-
#localname_minter ⇒ Object
Returns the value of attribute localname_minter.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
- #reset_base_uri ⇒ Object
- #reset_localname_minter ⇒ Object
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
19 20 21 22 |
# File 'lib/ld4l/works_rdf/configuration.rb', line 19 def initialize @base_uri = self.class.send(:default_base_uri) @localname_minter = self.class.send(:default_localname_minter) end |
Instance Attribute Details
#base_uri ⇒ Object
Returns the value of attribute base_uri.
5 6 7 |
# File 'lib/ld4l/works_rdf/configuration.rb', line 5 def base_uri @base_uri end |
#localname_minter ⇒ Object
Returns the value of attribute localname_minter.
6 7 8 |
# File 'lib/ld4l/works_rdf/configuration.rb', line 6 def localname_minter @localname_minter end |
Instance Method Details
#reset_base_uri ⇒ Object
28 29 30 |
# File 'lib/ld4l/works_rdf/configuration.rb', line 28 def reset_base_uri @base_uri = self.class.send(:default_base_uri) end |
#reset_localname_minter ⇒ Object
36 37 38 |
# File 'lib/ld4l/works_rdf/configuration.rb', line 36 def reset_localname_minter @localname_minter = self.class.send(:default_localname_minter) end |