Class: RubyCurses::ChangeEvent
Instance Attribute Summary collapse
-
#source ⇒ Object
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(source) ⇒ ChangeEvent
constructor
A new instance of ChangeEvent.
- #inspect ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(source) ⇒ ChangeEvent
Returns a new instance of ChangeEvent.
18 19 20 |
# File 'lib/rbcurse/rchangeevent.rb', line 18 def initialize source @source = source end |
Instance Attribute Details
#source ⇒ Object
Returns the value of attribute source.
17 18 19 |
# File 'lib/rbcurse/rchangeevent.rb', line 17 def source @source end |