Module: Marksmith
- Defined in:
- lib/marksmith.rb,
lib/marksmith/engine.rb,
lib/marksmith/version.rb,
lib/marksmith/configuration.rb,
app/models/marksmith/renderer.rb,
lib/marksmith/fields/markdown_field.rb,
app/helpers/marksmith/marksmith_helper.rb,
app/models/marksmith/application_record.rb,
lib/generators/marksmith/install_generator.rb,
app/controllers/marksmith/application_controller.rb,
app/controllers/marksmith/markdown_previews_controller.rb
Defined Under Namespace
Modules: Fields, Generators, MarksmithHelper
Classes: ApplicationController, ApplicationRecord, Configuration, Editor, Engine, MarkdownPreviewsController, Renderer
Constant Summary
collapse
- VERSION =
"0.4.8"
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
8
9
10
|
# File 'lib/marksmith/configuration.rb', line 8
def self.configuration
@configuration ||= Configuration.new
end
|
12
13
14
|
# File 'lib/marksmith/configuration.rb', line 12
def self.configure
yield configuration
end
|