prep alpha, backwards compat
This commit is contained in:
parent
d8e8b06cb6
commit
ee4c68b03c
16 changed files with 94 additions and 23 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue