keycounter 0.0.5 → 0.0.6

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/keycounter.rb +8 -7
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b74d39ab044f817903f9037596d7f3874cba9045
4
- data.tar.gz: 3c0aaae49c4899882893d5bb59d56bcf57b53e2e
3
+ metadata.gz: 25c946d10f24f06350f3d561601e4509669d40c2
4
+ data.tar.gz: 35bd726f3417cfe1a35103bcc457b8eae866715e
5
5
  SHA512:
6
- metadata.gz: e907e4ce2b836a9f22b589d5c0ff99b55487375c0479e8e6cd0375fa34a5bd5af0fc95540cb5a3759e61ec5e97914ec954ca76d7ed75f09263e875502e9b1136
7
- data.tar.gz: 7e1c89a294b717cfaf96dc9c736e9b5b7035022328246a1c60df669ac97b992e851fea561cffa26b224705ed560fa370580f9780faa98ecd22019fd9991ffc8e
6
+ metadata.gz: 95592e776705838f96385783a77b86b5721461f0af16e5e5cf76bb139edcda8cac3539c36308843d0724d5e03af36b19489f4c372d17726961fc0b06b1e83ed9
7
+ data.tar.gz: 428fb4888f8ad3cddc8d4c23162e71b4b49651ab42bff17703dd79f49d94ebb99ae9abf7ef0d1169faf128efd1b65e1f74a2a67bccdc96fbc37642cf0379a43a
@@ -10,11 +10,11 @@
10
10
 
11
11
  class Keycounter
12
12
 
13
- attr_writer :verbose
13
+ #attr_writer :verbose
14
14
 
15
- def initialize
16
- @verbose = true
17
- end
15
+ #def initialize
16
+ #@verbose = true
17
+ #end
18
18
 
19
19
  # Create / Add to instance variable
20
20
  def keycount(key)
@@ -34,9 +34,10 @@ class Keycounter
34
34
  puts "Cannot get instance variable of this name..."
35
35
  pp e
36
36
  end
37
- if @verbose == true
38
- puts "Key: #{key} Value: "+instance_variable_get("@#{key}").to_s
39
- end
37
+ return [key, instance_variable_get("@#{key}")]
38
+ # if @verbose == true
39
+ # puts "Key: #{key} Value: "+instance_variable_get("@#{key}").to_s
40
+ # end
40
41
  end
41
42
 
42
43
  # Read a single key
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keycounter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Hood