Class: Guard::Commands::Notification

Inherits:
Object
  • Object
show all
Defined in:
lib/guard/commands/notification.rb

Class Method Summary collapse

Class Method Details

.importObject



8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/guard/commands/notification.rb', line 8

def self.import
  Pry::Commands.create_command "notification" do
    group "Guard"
    description "Toggles the notifications."

    banner "    Usage: notification\n\n    Toggles the notifications on and off.\n    BANNER\n\n    def process\n      Notifier.toggle\n    end\n  end\nend\n"