Category: Ruby 2.4

Ruby 2.4 has optimized enumerable min max methods

Chirag ShahBy Chirag Shah in Ruby 2.4 on September 28, 2017

CSV::Row#each etc. return enumerator when no block given

Sushant MittalBy Sushant Mittal in Ruby 2.4 on September 25, 2017

Ruby 2.4 DateTime#to_time & Time#to_time keeps info

Sushant MittalBy Sushant Mittal in Ruby 2.4 on September 19, 2017

Avoid exception for dup on Integer

Rohit ArolkarBy Rohit Arolkar in Ruby 2.4 on August 1, 2017

Ruby 2.4 no exception for objects converted to IPAddr

Sushant MittalBy Sushant Mittal in Ruby 2.4 on June 21, 2017

Ruby 2.4 deprecated constants TRUE, FALSE & NIL

Akshay VishnoiBy Akshay Vishnoi in Ruby 2.4 on June 19, 2017

Ruby 2.4 allows custom suffix of rotated log files

Sushant MittalBy Sushant Mittal in Ruby 2.4 on June 15, 2017

Ruby 2.4 Hash#transform_values & destructive version

Sushant MittalBy Sushant Mittal in Ruby 2.4 on June 14, 2017

Binding irb - Runtime Invocation for IRB

Rohit ArolkarBy Rohit Arolkar in Ruby 2.4 on April 18, 2017

Ruby 2.4 has added additional parameters for Logger#new

Chirag ShahBy Chirag Shah in Ruby 2.4 on April 10, 2017

Ruby 2.4 has default basename for Tempfile#create

Chirag ShahBy Chirag Shah in Ruby 2.4 on April 4, 2017

New arguments support for float & integer modifiers

Abhishek JainBy Abhishek Jain in Ruby 2.4 on March 28, 2017

Ruby 2.4 adds Enumerable#uniq & Enumerable::Lazy#uniq

Mohit NatooBy Mohit Natoo in Ruby 2.4 on March 21, 2017

Ruby 2.4 optimized lstrip & strip for ASCII strings

Chirag ShahBy Chirag Shah in Ruby 2.4 on March 14, 2017

IO#readlines now accepts chomp flag as an argument

Chirag ShahBy Chirag Shah in Ruby 2.4 on March 7, 2017

open-uri in Ruby 2.4 allows http to https redirection

Chirag ShahBy Chirag Shah in Ruby 2.4 on March 2, 2017

Ruby 2.4 now has Dir.empty? and File.empty? methods

Ratnadeep DeshmaneBy Ratnadeep Deshmane in Ruby 2.4 on February 28, 2017

Ruby 2.4 Integer#digits extract digits in place-value

Rohit KumarBy Rohit Kumar in Ruby 2.4 on February 23, 2017

Ruby 2.4 adds compare by identity functionality

Chirag ShahBy Chirag Shah in Ruby 2.4 on December 29, 2016

Ruby 2.4 MatchData#values_at

Rohit KumarBy Rohit Kumar in Ruby 2.4 on December 21, 2016

Ruby 2.4 adds infinite? and finite? methods to Numeric

Abhishek JainBy Abhishek Jain in Ruby 2.4 on December 19, 2016

Ruby 2.4 adds Comparable#clamp method

Abhishek JainBy Abhishek Jain in Ruby 2.4 on December 13, 2016

New liberal_parsing option for parsing bad CSV data

Ershad KunnakkadanBy Ershad Kunnakkadan in Ruby 2.4 on November 22, 2016

Enumerable#chunk not mandatory in Ruby 2.4

Abhishek JainBy Abhishek Jain in Ruby 2.4 on November 21, 2016

Ruby 2.4 unifies Fixnum and Bignum into Integer

Prathamesh SonpatkiBy Prathamesh Sonpatki in Ruby 2.4 on November 18, 2016

Ruby 2.4 implements Array#min and Array#max

Rohit KumarBy Rohit Kumar in Ruby 2.4 on November 17, 2016

Ruby 2.4 Extracting captured data from Regexp results

Rohit KumarBy Rohit Kumar in Ruby 2.4 on November 10, 2016

Ruby 2.4 Regexp#match? not polluting global variables

Rohit KumarBy Rohit Kumar in Ruby 2.4 on November 4, 2016

Ruby 2.4 implements Enumerable#sum

Mohit NatooBy Mohit Natoo in Ruby 2.4 on November 2, 2016

String#concat, Array#concat & String#prepend Ruby 2.4

Abhishek JainBy Abhishek Jain in Ruby 2.4 on October 28, 2016

Hash#compact and Hash#compact! now part of Ruby 2.4

Prathamesh SonpatkiBy Prathamesh Sonpatki in Ruby 2.4 on October 24, 2016