Class: PryMoves::Painter::Canvas
- Inherits:
-
String
- Object
- String
- PryMoves::Painter::Canvas
- Defined in:
- lib/pry-moves/painter.rb
Instance Method Summary collapse
Instance Method Details
#<<(text) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/pry-moves/painter.rb', line 5 def <<(text) if length > 2000 super("... (cut)") throw :cut end super end |