Sha256: 20fdbf713f7aa8fc034a59496f38cac75adcd2cb3f428bab58aeca05b073189b

Contents?: true

Size: 266 Bytes

Versions: 28

Compression:

Stored size: 266 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/patch'
require 'eac_ruby_utils/acts_as_immutable'

class Module
  # @deprecated Use {#acts_as_immutable} instead.
  def enable_immutable
    ::EacRubyUtils.patch(self, ::EacRubyUtils::ActsAsImmutable)
  end
end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
eac_ruby_utils-0.124.0 lib/eac_ruby_utils/patches/module/immutable.rb
eac_tools-0.97.2 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/immutable.rb
eac_ruby_utils-0.123.0 lib/eac_ruby_utils/patches/module/immutable.rb
eac_ruby_utils-0.121.0 lib/eac_ruby_utils/patches/module/immutable.rb
eac_ruby_utils-0.120.0 lib/eac_ruby_utils/patches/module/immutable.rb
eac_tools-0.76.1 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/immutable.rb
eac_tools-0.76.0 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/immutable.rb
eac_tools-0.75.2 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/immutable.rb
eac_ruby_utils-0.119.2 lib/eac_ruby_utils/patches/module/immutable.rb
eac_tools-0.75.1 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/immutable.rb
eac_tools-0.75.0 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/immutable.rb
eac_ruby_utils-0.119.1 lib/eac_ruby_utils/patches/module/immutable.rb
eac_tools-0.74.1 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/immutable.rb
eac_tools-0.74.0 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/immutable.rb
eac_tools-0.73.0 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/immutable.rb
eac_ruby_utils-0.119.0 lib/eac_ruby_utils/patches/module/immutable.rb
eac_tools-0.72.0 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/immutable.rb
eac_ruby_utils-0.118.1 lib/eac_ruby_utils/patches/module/immutable.rb
eac_ruby_utils-0.118.0 lib/eac_ruby_utils/patches/module/immutable.rb
eac_tools-0.70.1 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/immutable.rb