Sha256: 7c5aa4b977952635155e0a7fce254641b8801ea02d83cce0c2777ee2f6dae610

Contents?: true

Size: 440 Bytes

Versions: 1

Compression:

Stored size: 440 Bytes

Contents

# -*- encoding: utf-8 -*-
# frozen_string_literal: true
module K
  module Replace
    require "k/replace/config"
    require "k/replace/version"
    require "k/replace/dynamic_accessors"
    require "k/replace/keys"
    require "k/replace/statement"

    def self.setup
      yield config
    end

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

    setup do |config|
      config.key_pattern = /##__(.*?)__##/i
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
k-replace-1.0.0 lib/k/replace.rb