Sha256: 0315dc141af3fe66a61c60de9b7151d5a3e1a462069c9fedab16da7c9ccae70a

Contents?: true

Size: 194 Bytes

Versions: 12

Compression:

Stored size: 194 Bytes

Contents

# frozen_string_literal: true

RubyNext::Core.patch Symbol, method: :start_with?, version: "2.7" do
  <<~RUBY
    def start_with?(*prefixes)
      to_s.start_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/start_with.rb
ruby-next-core-0.9.1 lib/ruby-next/core/symbol/start_with.rb
ruby-next-core-0.9.0 lib/ruby-next/core/symbol/start_with.rb
ruby-next-core-0.9.0.pre lib/ruby-next/core/symbol/start_with.rb
ruby-next-core-0.8.0 lib/ruby-next/core/symbol/start_with.rb
ruby-next-core-0.7.0 lib/ruby-next/core/symbol/start_with.rb
ruby-next-core-0.6.0 lib/ruby-next/core/symbol/start_with.rb
ruby-next-core-0.5.3 lib/ruby-next/core/symbol/start_with.rb
ruby-next-core-0.5.2 lib/ruby-next/core/symbol/start_with.rb
ruby-next-core-0.5.1 lib/ruby-next/core/symbol/start_with.rb
ruby-next-core-0.5.0 lib/ruby-next/core/symbol/start_with.rb
ruby-next-core-0.4.0 lib/ruby-next/core/symbol/start_with.rb