Class: PPCurses::Notification
- Inherits:
-
Object
- Object
- PPCurses::Notification
- Defined in:
- lib/ppcurses/notification_centre.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#object ⇒ Object
readonly
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(name, object) ⇒ Notification
constructor
A new instance of Notification.
Constructor Details
#initialize(name, object) ⇒ Notification
Returns a new instance of Notification.
55 56 57 58 |
# File 'lib/ppcurses/notification_centre.rb', line 55 def initialize( name, object ) @name = name @object = object end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
52 53 54 |
# File 'lib/ppcurses/notification_centre.rb', line 52 def name @name end |
#object ⇒ Object (readonly)
Returns the value of attribute object.
53 54 55 |
# File 'lib/ppcurses/notification_centre.rb', line 53 def object @object end |