# Utility Belt version 1.0.5 - hash math and Windows documentation

**URL:** <https://www.ruby-forum.com/t/utility-belt-version-1-0-5-hash-math-and-windows-documentation/123304>\
**Category:** Ruby\
**Created:** [December 16, 2007, 5:52am UTC](https://www.ruby-forum.com/t/utility-belt-version-1-0-5-hash-math-and-windows-documentation/123304 "2007-12-16T05:52:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Giles\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/848f3c/32.png) [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Post date:** [December 16, 2007, 5:52am UTC](https://www.ruby-forum.com/t/utility-belt-version-1-0-5-hash-math-and-windows-documentation/123304/1 "2007-12-16T05:52:32Z")

</div>

Lots of bug fixes in the past few days. This dot release is worth  
highlighting because it adds something I think is pretty cool.

You can now do addition and subtraction on hashes in Utility Belt:

{:a =\> :b} + {:c =\> :d} == {:a =\> :b, :c =\> :d}

{:a =\> :b, :c =\> :d} - {:c =\> :d} == {:a =\> :b}

{:a =\> :b, :c =\> :d} - :c == {:a =\> :b}

Also added .irbrc info for Windows users.

Small changes, but nifty ones. Upcoming at some point in future will  
be the ability to cherry-pick utilities from the belt. Also possibly  
more flexibility for the Pastie method and more power for the  
interactive editor methods.

–  
Giles B.

Podcast: [http://hollywoodgrit.blogspot.com](http://hollywoodgrit.blogspot.com)  
Blog: [http://gilesbowkett.blogspot.com](http://gilesbowkett.blogspot.com)  
Portfolio: [http://www.gilesgoatboy.org](http://www.gilesgoatboy.org)  
Tumblelog: [http://giles.tumblr.com](http://giles.tumblr.com)

---

<div class="post-metadata">

**Author:** ![Giles\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/848f3c/32.png) [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Post date:** [December 16, 2007, 6:04am UTC](https://www.ruby-forum.com/t/utility-belt-version-1-0-5-hash-math-and-windows-documentation/123304/2 "2007-12-16T06:04:13Z")

</div>

On Dec 15, 2007 8:51 PM, Giles B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Podcast: [http://hollywoodgrit.blogspot.com](http://hollywoodgrit.blogspot.com)  
> Blog: [http://gilesbowkett.blogspot.com](http://gilesbowkett.blogspot.com)  
> Portfolio: [http://www.gilesgoatboy.org](http://www.gilesgoatboy.org)  
> Tumblelog: [http://giles.tumblr.com](http://giles.tumblr.com)

Love the hash arithmetic. Nice job.

Pat

---

<div class="post-metadata">

**Author:** ![Giles\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/848f3c/32.png) [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Post date:** [December 16, 2007, 10:13am UTC](https://www.ruby-forum.com/t/utility-belt-version-1-0-5-hash-math-and-windows-documentation/123304/3 "2007-12-16T10:13:11Z")

</div>

On Dec 16, 2007 5:51 AM, Giles B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Lots of bug fixes in the past few days. This dot release is worth  
>   
> Any URLs Gilles?  
> Robert

–

[http://ruby-smalltalk.blogspot.com/](http://ruby-smalltalk.blogspot.com/)

* * *

All truth passes through three stages. First, it is ridiculed. Second,  
it is violently opposed. Third, it is accepted as being self-evident.  
Schopenhauer (attr.)

---

<div class="post-metadata">

**Author:** ![Giles\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/848f3c/32.png) [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Post date:** [December 16, 2007, 5:00pm UTC](https://www.ruby-forum.com/t/utility-belt-version-1-0-5-hash-math-and-windows-documentation/123304/4 "2007-12-16T17:00:25Z")

</div>

> > Lots of bug fixes in the past few days. This dot release is worth  
> >   
> > Any URLs Gilles?

URLs are for gem install utility\_belt to read!

But if you want some:

[http://utilitybelt.rubyforge.org/](http://utilitybelt.rubyforge.org/)  
[http://rubyforge.org/projects/utilitybelt/](http://rubyforge.org/projects/utilitybelt/)  
[http://rubyforge.org/mailman/listinfo/utilitybelt-tinkering](http://rubyforge.org/mailman/listinfo/utilitybelt-tinkering)  
[http://gilesbowkett.blogspot.com/2007/12/utility-belt-released-version-105.html](http://gilesbowkett.blogspot.com/2007/12/utility-belt-released-version-105.html)

Actually, I figured something out this morning. I got a bug report  
involving Rails. Pretty weird, loading my gem made a Rails app  
twitchy. (Even though the app didn’t use the gem.) Rails appears to be  
loading .irbrc for some reason. What I figured out this morning was a  
short-term fix for it. So there might be another dot release later  
today.

(It’s not really a fix, though, it’s more of a dodge.)

–  
Giles B.

Podcast: [http://hollywoodgrit.blogspot.com](http://hollywoodgrit.blogspot.com)  
Blog: [http://gilesbowkett.blogspot.com](http://gilesbowkett.blogspot.com)  
Portfolio: [http://www.gilesgoatboy.org](http://www.gilesgoatboy.org)  
Tumblelog: [http://giles.tumblr.com](http://giles.tumblr.com)
