Module: MarkitupRails

Defined in:
lib/engine.rb,
lib/markitup_rails.rb

Defined Under Namespace

Classes: Engine

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Yield self on setup for nice config blocks

Yields:

  • (_self)

Yield Parameters:

  • _self (MarkitupRails)

    the object that the method was called on



9
10
11
# File 'lib/markitup_rails.rb', line 9

def self.setup
  yield self
end