lib/usher/route/request_method.rb in usher-0.5.3 vs lib/usher/route/request_method.rb in usher-0.5.4
- old
+ new
@@ -15,8 +15,13 @@
def eql?(o)
o.is_a?(self.class) && o.type == type && o.value == value
end
alias == eql?
+
+ def trivial?
+ value.nil?
+ end
+
end
end
end
\ No newline at end of file