Sha256: 220a89d75273429c96cd929b89b4e19789be0b475b33d9600f60ab6fd0fa7b52

Contents?: true

Size: 256 Bytes

Versions: 1

Compression:

Stored size: 256 Bytes

Contents

require 'safer_initialize/version'
require 'safer_initialize/globals'
require 'safer_initialize/railtie'

module SaferInitialize
  class Error < StandardError; end

  module_function

  def with_safe(&block)
    Globals.set(__safe: true, &block)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
safer_initialize-0.1.0 lib/safer_initialize.rb