prep alpha, backwards compat

This commit is contained in:
Thomas Reynolds 2014-12-23 14:54:21 -08:00
parent d8e8b06cb6
commit ee4c68b03c
16 changed files with 94 additions and 23 deletions

View file

@ -172,7 +172,7 @@ module Middleman
# @param [Proc] matcher A Regexp to match the change path against
# @return [Set<Proc>]
Contract Proc => SetOf[Proc]
def changed(&block)
def on_change(&block)
@on_change_callbacks << block
@on_change_callbacks
end