lib/pair_see/combo.rb in pair_see-0.1.0 vs lib/pair_see/combo.rb in pair_see-0.1.1
- old
+ new
@@ -1,15 +1,17 @@
-class Combo
- attr_reader :count, :devs
+module PairSee
+ class Combo
+ attr_reader :count, :devs
- def initialize(count, *devs)
- @count, @devs = count, devs
- end
+ def initialize(count, *devs)
+ @count, @devs = count, devs
+ end
- def to_s
- "#{devs.join ', '}: #{count}"
- end
+ def to_s
+ "#{devs.join ', '}: #{count}"
+ end
- def empty?
- count == 0
- end
+ def empty?
+ count == 0
+ end
+end
end