Method: Textbringer::Buffer#new_mark
- Defined in:
- lib/textbringer/buffer.rb
#new_mark(location = @point) ⇒ Object
792 793 794 795 796 |
# File 'lib/textbringer/buffer.rb', line 792 def new_mark(location = @point) Mark.new(self, location).tap { |m| @marks << m } end |