Skip to content

Commit

Permalink
Remove unnecessary method call
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Jul 31, 2024
1 parent 45bcbde commit c17eecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sequel/database/misc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def from_application_timestamp(v)
# the database type, host, database, and user, if present.
def inspect
s = String.new
s << "#<#{self.class.to_s}"
s << "#<#{self.class}"
s << " database_type=#{database_type}" if database_type && database_type != adapter_scheme

keys = [:host, :database, :user]
Expand Down

0 comments on commit c17eecb

Please sign in to comment.