lib/muina/maybe/none.rb in muina-0.3.0 vs lib/muina/maybe/none.rb in muina-0.4.0
- old
+ new
@@ -2,9 +2,13 @@
module Muina
class Maybe
class None < self
private_class_method(:new)
+ def initialize
+ freeze
+ end
+
def some?
false
end
def none?