Class | SimpleCommand |
In: |
src/org/puremvc/ruby/patterns/command/simple_command.rb
|
Parent: | Notifier |
Your subclass should override the execute method where your business logic will handle the Notification.
Fulfill the use-case initiated by the given Notification.
In the Command Pattern, an application use-case typically begins with some user action, which results in an Notification being broadcast, which is handled by business logic in the execute method of an Command.