Sha256: e4b51f951eb060d4bd94c17f744f8d29179dc8317d387198bc2377e0197b7c17

Contents?: true

Size: 374 Bytes

Versions: 17

Compression:

Stored size: 374 Bytes

Contents

# frozen_string_literal: true

RubyNext::Core.patch Object,
  name: "FrozenError",
  method: nil,
  refineable: [],
  version: "2.5",
  # avoid defining the constant twice, 'causae it's already included in core
  # we only use the contents in `ruby-next core_ext`.
  supported: true,
  location: [__FILE__, __LINE__ + 2] do
  <<-RUBY
FrozenError ||= RuntimeError
  RUBY
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
ruby-next-core-1.1.1 lib/ruby-next/core/constants/frozen_error.rb
ruby-next-core-1.1.0 lib/ruby-next/core/constants/frozen_error.rb
ruby-next-core-1.0.3 lib/ruby-next/core/constants/frozen_error.rb
ruby-next-core-1.0.2 lib/ruby-next/core/constants/frozen_error.rb
ruby-next-core-1.0.1 lib/ruby-next/core/constants/frozen_error.rb
ruby-next-core-1.0.0 lib/ruby-next/core/constants/frozen_error.rb
ruby-next-core-1.0.0.rc.1 lib/ruby-next/core/constants/frozen_error.rb
ruby-next-core-0.15.3 lib/ruby-next/core/constants/frozen_error.rb
ruby-next-core-0.15.2 lib/ruby-next/core/constants/frozen_error.rb
ruby-next-core-0.15.1 lib/ruby-next/core/constants/frozen_error.rb
ruby-next-core-0.15.0 lib/ruby-next/core/constants/frozen_error.rb
ruby-next-core-0.14.1 lib/ruby-next/core/constants/frozen_error.rb
ruby-next-core-0.14.0 lib/ruby-next/core/constants/frozen_error.rb
ruby-next-core-0.13.3 lib/ruby-next/core/constants/frozen_error.rb
ruby-next-core-0.13.2 lib/ruby-next/core/constants/frozen_error.rb
ruby-next-core-0.13.1 lib/ruby-next/core/constants/frozen_error.rb
ruby-next-core-0.13.0 lib/ruby-next/core/constants/frozen_error.rb