Module: Worthwhile

Defined in:
lib/worthwhile.rb,
lib/worthwhile/engine.rb,
lib/worthwhile/version.rb,
lib/worthwhile/configuration.rb,
app/helpers/worthwhile/url_helper.rb,
lib/worthwhile/controller_resource.rb,
app/helpers/worthwhile/lease_helper.rb,
app/helpers/worthwhile/ability_helper.rb,
app/helpers/worthwhile/embargo_helper.rb,
app/services/worthwhile/lease_service.rb,
app/helpers/worthwhile/attribute_helper.rb,
app/helpers/worthwhile/thumbnail_helper.rb,
app/services/worthwhile/embargo_service.rb,
app/services/worthwhile/curation_concern.rb,
lib/generators/worthwhile/install_generator.rb,
app/helpers/worthwhile/render_constraints_helper.rb,
app/controllers/worthwhile/application_controller.rb,
app/controllers/concerns/worthwhile/files_controller.rb,
app/controllers/concerns/worthwhile/manages_embargoes.rb,
app/controllers/concerns/worthwhile/without_namespace.rb,
app/controllers/worthwhile/classify_concerns_controller.rb,
app/controllers/concerns/worthwhile/application_controller_behavior.rb

Defined Under Namespace

Modules: AbilityHelper, ApplicationControllerBehavior, AttributeHelper, CatalogController, CatalogHelper, CollectionsHelper, CurationConcern, CurationConcernController, EmbargoHelper, EmbargoService, FilesController, GenericFileHelper, GenericWorkRdfProperties, LeaseHelper, LeaseService, MainAppHelpers, ManagesEmbargoes, ParentContainer, RenderConstraintsHelper, SearchPathsHelper, ThemedLayoutController, ThumbnailHelper, TitleHelper, UrlHelper, WithoutNamespace Classes: ApplicationController, ClassifyConcernsController, Configuration, ControllerResource, Engine, Install, PropertiesDatastream, WorkGenerator

Constant Summary collapse

VERSION =
"0.1.2"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



4
5
6
# File 'lib/worthwhile/configuration.rb', line 4

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



7
8
9
10
# File 'lib/worthwhile/configuration.rb', line 7

def self.configure
  self.configuration ||= Configuration.new
  yield(configuration)
end