the change occurred in 2.4.0
as demonstrated by this Travis test matrix: https://travis-ci.org/igneus/
the code run there: https://github.com/igneus/ruby-clone-test
I wasn't able to identify a respective changelog entry in https://github.
com/ruby/ruby/blob/v2_4_0/NEWS , though. (I didn't attempt to traverse git
---------- Původní e-mail ----------
Od: Ed Howland <email@example.com>
Komu: Ruby users <firstname.lastname@example.org>
Předmět: Which version of Ruby did the clone method begin to work on
TrueClass, Fixnum and Symbol and others?
In version 2.2, when I do something like true.clone, I get a runtime/type
error. In 2.4 and later this works.
Does anyone know when this occurred. I would like it for my install docs.
Thanks in advance.
Datum: 30. 7. 2018 22:55:28