Module: Ladder::Configurable::ClassMethods
- Defined in:
- lib/ladder/configurable.rb
Instance Method Summary collapse
-
#base_uri ⇒ RDF::URI
Set a default base URI based on the Ladder::Config settings.
Instance Method Details
#base_uri ⇒ RDF::URI
Set a default base URI based on the Ladder::Config settings
10 11 12 |
# File 'lib/ladder/configurable.rb', line 10 def base_uri RDF::URI.new(Ladder::Config.settings[:base_uri]) / name.underscore.pluralize end |