Sha256: a0f82c3feaac838403093ae64c30958022f352a959e26fb865e68908ac7c7c55

Contents?: true

Size: 188 Bytes

Versions: 12

Compression:

Stored size: 188 Bytes

Contents

# frozen_string_literal: true

RubyNext::Core.patch Symbol, method: :end_with?, version: "2.7" do
  <<~RUBY
    def end_with?(*prefixes)
      to_s.end_with?(*prefixes)
    end
  RUBY
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ruby-next-core-0.9.2 lib/ruby-next/core/symbol/end_with.rb
ruby-next-core-0.9.1 lib/ruby-next/core/symbol/end_with.rb
ruby-next-core-0.9.0 lib/ruby-next/core/symbol/end_with.rb
ruby-next-core-0.9.0.pre lib/ruby-next/core/symbol/end_with.rb
ruby-next-core-0.8.0 lib/ruby-next/core/symbol/end_with.rb
ruby-next-core-0.7.0 lib/ruby-next/core/symbol/end_with.rb
ruby-next-core-0.6.0 lib/ruby-next/core/symbol/end_with.rb
ruby-next-core-0.5.3 lib/ruby-next/core/symbol/end_with.rb
ruby-next-core-0.5.2 lib/ruby-next/core/symbol/end_with.rb
ruby-next-core-0.5.1 lib/ruby-next/core/symbol/end_with.rb
ruby-next-core-0.5.0 lib/ruby-next/core/symbol/end_with.rb
ruby-next-core-0.4.0 lib/ruby-next/core/symbol/end_with.rb