Skip to content
Browse files

fix YARD

  • Loading branch information...
1 parent 0d8fc5a commit 2fee7d218c1d451fa5991d00257cbe6d78ad9cb5 @kachick committed May 7, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 lib/integer/base/standard_chars.rb
View
7 lib/integer/base/standard_chars.rb
@@ -1,8 +1,9 @@
class Integer; module Base
- # {1 => :"0",
- # 2 => :"0", :"1"}
- # 36 => :"0", :"1", ... , :"35"}
+ # @example
+ # { 1 => [:"0"],
+ # 2 => [:"0", :"1"],
+ # 36 => [:"0", :"1", ... , :"35"] }
STANDARD_CHARS = Hash.new{|*|raise KeyError}.tap {|standards|
1.upto 10 do |n|
standards[n] = ('0'..((n - 1).to_s)).map(&:to_sym).freeze

0 comments on commit 2fee7d2

Please sign in to comment.
Something went wrong with that request. Please try again.