lib/src/factory.rb in codebreaker_vv-0.2.0 vs lib/src/factory.rb in codebreaker_vv-1.0.0
- old
+ new
@@ -1,6 +1,6 @@
class Factory
- def new_secret_code
+ def self.new_secret_code
secret_code = []
4.times do
secret_code << rand(1..6)
end