add support to Ruby 2.0