lib/muina/maybe/some.rb in muina-0.3.0 vs lib/muina/maybe/some.rb in muina-0.4.0
- old
+ new
@@ -3,9 +3,10 @@
module Muina
class Maybe
class Some < self
def initialize(value)
@value = value
+ freeze
end
private_class_method(:new)
def some?
true