Read more

BigDecimal#inspect for people who aren't cyborgs

Henning Koch
June 27, 2012Software engineer at makandra GmbH

I wonder if the guy that wrote BigDecimal#inspect has a tragic backstory that explains why he hates humanity.

- Tim Pope Show archive.org snapshot

Illustration online protection

Rails professionals since 2007

Our laser focus on a single technology has made us a leader in this space. Need help?

  • We build a solid first version of your product
  • We train your development team
  • We rescue your project in trouble
Read more Show archive.org snapshot

I finally gave up and made BigDecimal#inspect return BigDecimal#to_s:

p BigDecimal.new('2.3') #=> "2.3"

Use the attached initializer.

Posted by Henning Koch to makandra dev (2012-06-27 16:20)