Module: WorksCited
- Defined in:
- lib/works_cited.rb,
lib/works_cited/engine.rb,
lib/works_cited/railtie.rb,
lib/works_cited/version.rb,
lib/works_cited/configuration.rb,
lib/works_cited/mixins/has_works_cited.rb
Overview
Defined Under Namespace
Modules: Mixins
Classes: Configuration, Engine, Railtie
Constant Summary
collapse
- VERSION =
File.read(File.expand_path('../../VERSION', __dir__))
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
10
11
12
|
# File 'lib/works_cited/configuration.rb', line 10
def self.configuration
@configuration ||= WorksCited::Configuration.new
end
|
5
6
7
8
|
# File 'lib/works_cited/configuration.rb', line 5
def self.configure(configuration = WorksCited::Configuration.new)
block_given? && yield(configuration)
@configuration = configuration
end
|
.version_string ⇒ Object
6
7
8
|
# File 'lib/works_cited/version.rb', line 6
def self.version_string
"WorksCited version #{WorksCited::VERSION}"
end
|