Module: Maildown

Defined in:
lib/maildown.rb,
lib/maildown/version.rb,
lib/maildown/markdown_engine.rb,
lib/maildown/handlers/markdown.rb

Overview

Top level module, all module methods are used for configuration

Defined Under Namespace

Modules: Handlers, MarkdownEngine

Constant Summary collapse

VERSION =
"3.0.1"

Class Method Summary collapse

Class Method Details

.allow_indentationObject



6
7
8
# File 'lib/maildown.rb', line 6

def self.allow_indentation
  @allow_indentations
end

.allow_indentation=(allow_indentations) ⇒ Object



10
11
12
# File 'lib/maildown.rb', line 10

def self.allow_indentation=(allow_indentations)
  @allow_indentations = allow_indentations
end

.enable_layoutsObject



14
15
16
17
# File 'lib/maildown.rb', line 14

def self.enable_layouts
  puts "Maildown.enable_layouts is deprecated, setting this does nothing"
  @enable_layouts
end

.enable_layouts=(enable_layouts) ⇒ Object



19
20
21
22
# File 'lib/maildown.rb', line 19

def self.enable_layouts=(enable_layouts)
  puts "Maildown.enable_layouts= is deprecated, setting this does nothing"
  @enable_layouts = enable_layouts
end