lib/remedy/partial.rb in remedy-0.1.0 vs lib/remedy/partial.rb in remedy-0.1.1
- old
+ new
@@ -28,10 +28,10 @@
def length
lines.length
end
def width
- @width ||= lines.max{|line| line.length }
+ @width ||= lines.max{|line| line.length }.length
end
def size
Size.new length, width
end