Class: Guard::Migrate::Notify
- Inherits:
-
Object
- Object
- Guard::Migrate::Notify
- Defined in:
- lib/guard/migrate/notify.rb
Instance Method Summary collapse
-
#initialize(result) ⇒ Notify
constructor
A new instance of Notify.
- #notify ⇒ Object
Constructor Details
#initialize(result) ⇒ Notify
Returns a new instance of Notify.
4 5 6 |
# File 'lib/guard/migrate/notify.rb', line 4 def initialize(result) @result = result end |
Instance Method Details
#notify ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/guard/migrate/notify.rb', line 8 def notify Guard::Compat::UI.notify( , title: 'Database Migrations', image: image ) end |