Sha256: 66ff2921da654360f11ee78d45263124d92086fa3b71f0b14c29f593aa5bdf75

Contents?: true

Size: 233 Bytes

Versions: 1

Compression:

Stored size: 233 Bytes

Contents

# You'll need to <tt>require 'markaby/kernel_method'</tt> for this.
require 'markaby'

module Kernel
  # Shortcut for creating a quick block of Markaby.
  def mab(*args, &block)
    Markaby::Builder.new(*args, &block).to_s
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
markaby-0.9.0 lib/markaby/kernel_method.rb