Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Some Ruby Methods Extendsions, like Hash#hash_reverse,etc ...
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
.gitignore
Gemfile
Gemfile.lock
LICENSE
README.markdown
Rakefile
ruby_extendsions.gemspec

README.markdown

Install:

simply install the gem:

gem install ruby_extendsions

usage:

Array#stringify_items! and Array#stringify_items

  arr, brr = [:a, [1,2,:cddd], :d, 1], [:b, [3,4,false], :b,2]
  arr.stringify_items!
  arr #=> ['a', ['1','2','cddd'], 'd', '1']
  brr.stringify_items
  brr #=> ["b", ["3", "4", "false"], "b", "2"]

Array#binary_search_index and Array#b_include?

Array#compare_content

  foo, bar = [1,2,3], [3,2,1] 
  foo.compare_content bar
  #=> true 

more ... please read source code.

Something went wrong with that request. Please try again.