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
Constructor Details
#initialize(condition) ⇒ Notification
Returns a new instance of 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
7 8 |
# File 'lib/chores_kit/chore/notification.rb', line 7 def method_missing(name, *args) end |