radix
radix copied to clipboard
Base Conversions
--- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
`U` was duplicated
I'm wondering if the fact that: ``` ruby 10.b(16) != "10".b(16) ``` represents an inconsistency in the design of Radix? FYI, ``` ruby 10.b(16).to_i => 10 "10".b(16).to_i => 16 ```...
sorry for my poor english... Ruby 2.1.0 String.b #=> http://www.ruby-doc.org/core-2.1.0/String.html#method-i-b & I tried require(gemfile) radix in rails & use will be fail ` ~/.rvm/gems/ruby-2.1.0/gems/radix-2.2.0/lib/radix/operator.rb:51:in 'b': wrong number of arguments (0...
Should fix https://github.com/rubyworks/radix/issues/10
The Base class is now behind the new Numeric classes in terms of functionality. So either deprecate it or bring it up to date.