three141 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +5 -1
- data/lib/three141.rb +2 -2
- metadata +1 -1
data/History.txt
CHANGED
data/lib/three141.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
class Three141
|
|
2
2
|
|
|
3
|
-
VERSION = '1.0.
|
|
3
|
+
VERSION = '1.0.1'
|
|
4
4
|
|
|
5
5
|
def initialize
|
|
6
6
|
@tp = Array.new
|
|
@@ -10,7 +10,7 @@ class Three141
|
|
|
10
10
|
|
|
11
11
|
# It returns the first 10 pi digits (hex) starting from position = id
|
|
12
12
|
#
|
|
13
|
-
# eg:
|
|
13
|
+
# eg: Three141.new.digits(2)
|
|
14
14
|
# => ["3", "F", "6", "A", "8", "8", "8", "5", "A", "3", "0", "8", "E", "0", "0", "0"]
|
|
15
15
|
|
|
16
16
|
def digits(id)
|