aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-16 13:12:38 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-17 18:50:55 +0900
commit1ca67f13cd2ebb643fc924246cc790f14b26480d (patch)
tree0551499a620d3d3d034681b107aedda4019b710e /lib/rubygems.rb
parent5211900d37573a82c1bdf7cb2354937cc4022ae1 (diff)
downloadruby-1ca67f13cd2ebb643fc924246cc790f14b26480d.tar.gz
util/rubocop -A --only Style/RedundantSelf
Diffstat (limited to 'lib/rubygems.rb')
-rw-r--r--lib/rubygems.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems.rb b/lib/rubygems.rb
index 5a73cfc9ad..00749bc0cf 100644
--- a/lib/rubygems.rb
+++ b/lib/rubygems.rb
@@ -1136,7 +1136,7 @@ An Array (#{env.inspect}) was passed in from #{caller[3]}
# This is used throughout RubyGems for enabling reproducible builds.
def self.source_date_epoch
- Time.at(self.source_date_epoch_string.to_i).utc.freeze
+ Time.at(source_date_epoch_string.to_i).utc.freeze
end
# FIX: Almost everywhere else we use the `def self.` way of defining class