robertgleeson (Robert Gleeson) wrote: > The segfault no longer happens, since https://github.com/pry/pry/pull/1611/commits/94316852f5c1114f3073876558085835f2cf5377. > ... Spoke too soon, i think we just got lucky, it still happens when...robertgleeson (Robert Gleeson)
The segfault no longer happens, since https://github.com/pry/pry/pull/1611/commits/94316852f5c1114f3073876558085835f2cf5377. if you want to reproduce a commit before that one should work, on the `respond_to-2.4-warnings` branch.robertgleeson (Robert Gleeson)
znz (Kazuhiro NISHIYAMA) wrote: > How about `class Object; deprecate_constant :Fixnum, :Bignum; end`? > ... It would be nice to have `constant_deprecated?`. To avoid all of these warnings while supporting <2.4 and >=2.4 i track ...robertgleeson (Robert Gleeson)
the documentation for `URI::Generic#normalize` is vague and does not provide enough details about the algorithm that applies normalization. the documentation says, "Returns normalized URI" and nothing more. I would have expected a short...robertgleeson (Robert Gleeson)
I agree that returning the class or module makes sense (to me). I'd also like to see "`def foo`" return a (`Unbound`)`Method` instead of a `Symbol`. it seems like that'd also make more sense (not to derail this conversation). A (`Unbou...robertgleeson (Robert Gleeson)
@nobu Thanks! I've re-created an example using CSV::Table: require "csv" row = CSV::Row.new ["Name"], ["Name"], true table = CSV::Table.new [row] table[0] << ["Hair Color", "Hair Color"] p table.to_csv It works like I want, but CSV::Ro...robertgleeson (Robert Gleeson)
I guess I could settle for: headers = ["one"] CSV.generate headers: true do ["two", three"].each do |e| headers << e csv << headers end end but, this is preferable: headers = ["one"] CSV.generate headers: true do csv << ...robertgleeson (Robert Gleeson)