Class: Notification
- Inherits:
-
Object
- Object
- Notification
- Defined in:
- lib/chores_kit/chore/notification.rb
Instance Method Summary collapse
-
#initialize(condition) ⇒ Notification
constructor
A new instance of Notification.
-
#method_missing(name, *args) ⇒ Object
rubocop:disable Style/MethodMissing.
Constructor Details
#initialize(condition) ⇒ Notification
2 3 4 5 |
# File 'lib/chores_kit/chore/notification.rb', line 2 def initialize(condition) @condition = condition @commands = [] end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args) ⇒ Object
rubocop:disable Style/MethodMissing
8 9 |
# File 'lib/chores_kit/chore/notification.rb', line 8 def method_missing(name, *args) end |