lib/totally_lazy/option.rb in totally_lazy-0.1.34 vs lib/totally_lazy/option.rb in totally_lazy-0.1.35
- old
+ new
@@ -130,11 +130,11 @@
def <=>(other)
@value <=> other.value
end
def to_s
- "Some(#{value})"
+ "some(#{value})"
end
end
class None < Option
include LambdaBlock
@@ -206,10 +206,10 @@
def <=>(other)
other == NONE
end
def to_s
- 'None'
+ 'none'
end
end
NONE=None.new