nosey 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +1,16 @@
1
1
  module Nosey
2
2
  class Report
3
- attr_reader :probe_sets
4
-
5
3
  def initialize
6
4
  yield self if block_given?
7
5
  self
8
6
  end
9
7
 
8
+ # Make sure we end up with a flat array of probe_sets
9
+ def probe_sets=(probe_sets)
10
+ @probe_sets = Array(probe_sets).flatten
11
+ end
12
+
13
+ # Grab some probe_sets or an array
10
14
  def probe_sets
11
15
  @probe_sets ||= Array.new
12
16
  end
@@ -1,3 +1,3 @@
1
1
  module Nosey
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 2
9
- version: 0.0.2
8
+ - 3
9
+ version: 0.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Brad Gessler