basecustom 0.1.6 → 0.1.7
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.
- checksums.yaml +8 -8
- data/lib/basecustom/version.rb +3 -1
- data/lib/basecustom.rb +9 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MTMyYjc2MzI0ZTQ0OWRmZTE4NGYwNDg4ZDY1MzljYjljN2NhZTM4ZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDllYjAxMTM0NTk2MjA5NWY4NzYzM2NmYzc4MWNlYTk2M2IyMmVmZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZWI3MjAzNDJhNDM3MGM3YjQ1OThhYmI2M2QyNjc4ZDhmZjlmZWU2M2M5MTVk
|
10
|
+
YWEyYmFiMTE0NTgzMmY3ZmM4NmIyNWIyODc5MDYwMDAxYmM2NjMwMjg3ZGY0
|
11
|
+
NTEyMjYzNmY1N2UxNDhjMzY3YzliMGFmNTUwOWQxMTc4OWFhOWI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MGJhN2JjZjBjMGZlMDhlMjBiMzg5ODAyYmQzMzU2MGQ5ZjVkYzhhYzFiZjNj
|
14
|
+
NGEyZjJhOWFhZTY3YzFiNGQ3ZWQ5ZWI4Mjc1Y2E0ZWZmOTY4MTRlMGY0MzE4
|
15
|
+
YTU3MDYwMTg0YWQ1Mzg1YzI4NTYzYzZmODlmYjVkYjM4MWMzYWQ=
|
data/lib/basecustom/version.rb
CHANGED
data/lib/basecustom.rb
CHANGED
@@ -6,6 +6,7 @@ $: << File.join(File.dirname(__FILE__), "/basecustom")
|
|
6
6
|
require 'basecustom/version'
|
7
7
|
|
8
8
|
class BaseCustom
|
9
|
+
|
9
10
|
def initialize(array_in, delim = '')
|
10
11
|
if array_in.is_a?(String)
|
11
12
|
array_in = array_in.split(delim)
|
@@ -54,4 +55,12 @@ class BaseCustom
|
|
54
55
|
raise "#{input_val.class} is not a supported type!"
|
55
56
|
end
|
56
57
|
end # base
|
58
|
+
|
59
|
+
def length
|
60
|
+
return @BASE_PRIMITIVES_ARRAY.length
|
61
|
+
end
|
62
|
+
|
63
|
+
def all
|
64
|
+
return @BASE_PRIMITIVES_ARRAY.join
|
65
|
+
end
|
57
66
|
end # class BaseCustom
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: basecustom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel P. Clark / 6ftDan(TM)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Define your own numberic base! Highly advanced and ultimately simple!
|
14
14
|
email: webmaster@6ftdan.com
|