lib/vedeu/models/stream.rb in vedeu-0.4.64 vs lib/vedeu/models/stream.rb in vedeu-0.4.65
- old
+ new
@@ -44,9 +44,10 @@
# @param child [Vedeu::Stream]
# @return [Vedeu::Streams]
def add(child)
parent.add(child)
end
+ alias_method :<<, :add
# Returns an array of characters, each element is the escape sequences of
# colours and styles for this stream, the character itself, and the escape
# sequences of colours and styles for the parent of the stream
# ({Vedeu::Line}).