lib/vedeu/models/line.rb in vedeu-0.4.13 vs lib/vedeu/models/line.rb in vedeu-0.4.14
- old
+ new
@@ -71,10 +71,10 @@
# Returns the size of the content in characters without formatting.
#
# @return [Fixnum]
def size
- streams.map(&:size).inject(0, :+) { |sum, x| sum += x }
+ streams.map(&:size).inject(0, :+)
end
# @return [Vedeu::Streams]
def streams
collection.coerce(@streams, self)