lib/option.rb in option-0.0.4 vs lib/option.rb in option-0.1.0
- old
+ new
@@ -34,11 +34,11 @@
def or_nil
get
end
- def defined?
+ def present?
true
end
def empty?
false
@@ -85,10 +85,10 @@
def or_nil
nil
end
- def defined?
+ def present?
false
end
def empty?
true