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.5.1"

Class Method Summary collapse

Class Method Details

.configurationObject



53
54
55
# File 'lib/marksmith/configuration.rb', line 53

def self.configuration
  @configuration ||= Configuration.new
end

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

Yields:



57
58
59
# File 'lib/marksmith/configuration.rb', line 57

def self.configure
  yield configuration
end