mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 15:51:05 +08:00
DEV: lint against Layout/EmptyLineBetweenDefs (#24914)
This commit is contained in:
@ -6,6 +6,7 @@ module Autospec
|
||||
def self.watch(pattern, &blk)
|
||||
WATCHERS[pattern] = blk
|
||||
end
|
||||
|
||||
def watchers
|
||||
WATCHERS
|
||||
end
|
||||
@ -41,6 +42,7 @@ module Autospec
|
||||
def self.reload(pattern)
|
||||
RELOADERS << pattern
|
||||
end
|
||||
|
||||
def reloaders
|
||||
RELOADERS
|
||||
end
|
||||
|
Reference in New Issue
Block a user