Module: Kernel

Defined in:
lib/markaby/kernel_method.rb

Overview

You’ll need to require 'markaby/kernel_method' for this.

Instance Method Summary collapse

Instance Method Details

#mab(*args, &block) ⇒ Object

Shortcut for creating a quick block of Markaby.



4
5
6
# File 'lib/markaby/kernel_method.rb', line 4

def mab(*args, &block)
  Markaby::Builder.new(*args, &block).to_s
end