Ruby 2.0 addition to gem