📝 Add docs for Gutter::destroy

This commit is contained in:
Maxim Sokolov
2015-08-26 10:47:51 +03:00
parent 150300b63e
commit 71c9a4afe7

View File

@@ -17,6 +17,11 @@ class Gutter
@emitter = new Emitter
###
Section: Gutter Destruction
###
# Public: Destroys the gutter.
destroy: ->
if @name is 'line-number'
throw new Error('The line-number gutter cannot be destroyed.')