lib/rantly/generator.rb in rantly-2.0.0 vs lib/rantly/generator.rb in rantly-3.0.0
- old
+ new
@@ -1,7 +1,8 @@
class Rantly
class << self
attr_writer :default_size
+
def singleton
@singleton ||= Rantly.new
@singleton
end