Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add comments for STANDARD_CHARS

  • Loading branch information...
commit be3a2d3bc6dc86447d6598cd2d97102b784b05ea 1 parent 8e92566
@kachick authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/integer/base/standard_chars.rb
View
3  lib/integer/base/standard_chars.rb
@@ -1,5 +1,8 @@
class Integer; module Base
+ # {1 => :"0",
+ # 2 => :"0", :"1"}
+ # 36 => :"0", :"1", ... , :"35"}
STANDARD_CHARS = {}.tap {|standards|
1.upto 10 do |n|
standards[n] = ('0'..((n - 1).to_s)).map(&:to_sym).freeze
Please sign in to comment.
Something went wrong with that request. Please try again.