lib/option.rb in option-0.0.3 vs lib/option.rb in option-0.0.4
- old
+ new
@@ -34,10 +34,14 @@
def or_nil
get
end
+ def defined?
+ true
+ end
+
def empty?
false
end
def map(&blk)
@@ -79,9 +83,13 @@
nil
end
def or_nil
nil
+ end
+
+ def defined?
+ false
end
def empty?
true
end