lib/support/tuple.rb in trafficbroker-mandy-0.1.5 vs lib/support/tuple.rb in trafficbroker-mandy-0.1.6
- old
+ new
@@ -15,10 +15,15 @@
def self.from_s(str)
new(*str.split(SEPERATOR))
end
+ def inspect
+ %(<Tuple #{self.to_s}>)
+ end
+
def ==(other)
+ return false unless self.class == other.class
self.name == other.name && self.value == other.value
end
end
end
\ No newline at end of file