Method: Fox::FXIrb#write
- Defined in:
- lib/fox16/irb.rb
#write(obj) ⇒ Object
152 153 154 155 156 157 158 |
# File 'lib/fox16/irb.rb', line 152 def write(obj) str = obj.to_s appendText(str) setCursorPos(getLength) makePositionVisible(getLength) unless isPosVisible(getLength) return str.length end |