summaryrefslogtreecommitdiff
path: root/numeric.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2024-11-12 20:35:38 -0800
committerTakashi Kokubun <[email protected]>2024-11-13 12:27:26 -0800
commitd57d85548f92143054d90af11b00a25e0239bce0 ()
tree8b2ccad5899c25f8a2bb103751eac6fff8f79955 /numeric.rb
parentbeafae97505f9def3967e958bb1f7bc7fd7b9a7a (diff)
Move Integer#downto to Ruby
Co-Authored-By: Aaron Patterson <[email protected]>
Notes: Merged: https://.com/ruby/ruby/pull/12074
-rw-r--r--numeric.rb20
1 files changed, 20 insertions, 0 deletions
@@ -321,6 +321,26 @@ class Integer
def denominator
1
end
end
class Float