Module: Downr
- Defined in:
- lib/downr.rb,
lib/downr/engine.rb,
lib/downr/render.rb,
lib/downr/railtie.rb,
lib/downr/version.rb,
lib/downr/markdown.rb,
lib/downr/configuration.rb,
lib/downr/action_view/helpers.rb,
lib/generators/downr/install/install_generator.rb
Overview
Gem Version
Defined Under Namespace
Modules: Helpers Classes: Configuration, Engine, InstallGenerator, Markdown, Railtie, Render
Constant Summary collapse
- VERSION =
"0.0.7"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
-
.markdown ⇒ Object
Returns the value of attribute markdown.
Class Method Summary collapse
-
.configure {|configuration| ... } ⇒ Object
static method to define a Configuration object with the given initialized data.
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
22 23 24 |
# File 'lib/downr.rb', line 22 def configuration @configuration end |
.markdown ⇒ Object
Returns the value of attribute markdown.
22 23 24 |
# File 'lib/downr.rb', line 22 def markdown @markdown end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
static method to define a Configuration object with the given initialized data
27 28 29 30 31 32 |
# File 'lib/downr.rb', line 27 def self.configure self.configuration ||= Configuration.new yield(configuration) self.markdown ||= Markdown.new end |