Method: Textbringer::Buffer#byte_before
- Defined in:
- lib/textbringer/buffer.rb
#byte_before(location = @point) ⇒ Object
485 486 487 488 489 490 491 |
# File 'lib/textbringer/buffer.rb', line 485 def byte_before(location = @point) if location <= point_min || location > point_max nil else byte_after(location - 1) end end |