Sha256: 55a393cf5208c87ca8fa561bffc3d3ed00cea9d12099a3a4bbf75ec40248826d
Contents?: true
Size: 667 Bytes
Versions: 4
Compression:
Stored size: 667 Bytes
Contents
# NOTE: Do NOT require "guard/plugin" - it will either be already required, or # a stub will be supplied by the test class module Guard class MyPlugin < Plugin def start Guard::Notifier.notify('foo') Guard::UI.info('foo') Guard::UI.warning('foo') Guard::UI.error('foo') Guard::UI.debug('foo') Guard::UI.deprecation('foo') end def run_all Guard::Notifier.notify('foo', title: 'bar') Guard::UI.info('foo', bar: :baz) Guard::UI.warning('foo', bar: :baz) Guard::UI.error('foo', bar: :baz) Guard::UI.debug('foo', bar: :baz) Guard::UI.deprecation('foo', bar: :baz) end end end
Version data entries
4 entries across 4 versions & 1 rubygems