Permalink
Browse files

fix a explain data

  • Loading branch information...
1 parent 2fee7d2 commit 301f01ae305ad169eb605fd6d9304bbfcafbb1df @kachick committed May 17, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.rdoc
View
@@ -37,8 +37,8 @@ Your format comes into positional numeral systems.
192.to_s ['0', *'A'..'I'] #=> 'aib'
* Already defined useful chars
- '10'.to_i Integer::Base::STANDARD_CHARS[36] #=> 36
- '10'.to_i Integer::Base::STANDARD_CHARS[:BINARY] #=> 2
+ '10'.to_i Integer::Base::STANDARD_CHARS[36].last #=> :Z
+ '10'.to_i Integer::Base::STANDARD_CHARS[:BINARY].last #=> :"1"
* Get own formats
'a'.to_i %w[0 a] #=> 1

0 comments on commit 301f01a

Please sign in to comment.