module Smerge

Public Class Methods

config() click to toggle source
# File lib/smerge.rb, line 7
def self.config
  @config ||= Config.new
end
engine() click to toggle source
# File lib/smerge.rb, line 11
def self.engine
  Engine.new(config.rules.reverse)
end
setup() { |config end| ... } click to toggle source
# File lib/smerge.rb, line 5
  def self.setup; yield config end

  def self.config
    @config ||= Config.new
  end

  def self.engine
    Engine.new(config.rules.reverse)
  end
end