Skip to content

Commit

Permalink
Fix for Ruby 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
inukshuk committed Jan 8, 2024
1 parent a6fde66 commit 60e2b60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bibtex/names.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class Name < Struct.new(:first, :last, :prefix, :suffix)
}.freeze

def_delegators :to_s, :=~, :===,
*String.instance_methods(false).reject { |m| m =~ /^\W|to_s|replace|each|first|last|!$/ }
*String.instance_methods(false).reject { |m| m =~ /^\W|to_s|dup|replace|each|first|last|!$/ }

class << self
def parse(string)
Expand Down

0 comments on commit 60e2b60

Please sign in to comment.