lib/yzz/side_pair.rb in yzz-2.0.5 vs lib/yzz/side_pair.rb in yzz-2.0.7
- old
+ new
@@ -42,8 +42,14 @@
def N; negward.neighbor end
# Returns the string briefly describing the instance.
#
def to_s
- "#<YTed::Zz::SidePair: #{zz} along dimension #{dimension} >"
+ "#<Yzz::SidePair: #{zz} along #{dimension}>"
+ end
+
+ # Instance inspect string.
+ #
+ def inspect
+ to_s
end
end # class YTed::Zz::SidePair