Class: RubyCurses::ListSelectionEvent
- Defined in:
- lib/rbcurse/listselectable.rb,
lib/rbcurse/extras/listselectable.rb
Overview
mod
selection related collapse
-
#firstrow ⇒ Object
Returns the value of attribute firstrow.
-
#lastrow ⇒ Object
Returns the value of attribute lastrow.
-
#source ⇒ Object
Returns the value of attribute source.
-
#type ⇒ Object
Returns the value of attribute type.
selection related collapse
-
#initialize(firstrow, lastrow, source, type) ⇒ ListSelectionEvent
constructor
A new instance of ListSelectionEvent.
- #inspect ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(firstrow, lastrow, source, type) ⇒ ListSelectionEvent
Returns a new instance of ListSelectionEvent.
129 130 131 132 133 134 |
# File 'lib/rbcurse/listselectable.rb', line 129 def initialize firstrow, lastrow, source, type @firstrow = firstrow @lastrow = lastrow @source = source @type = type end |
Instance Attribute Details
#firstrow ⇒ Object
Returns the value of attribute firstrow.
128 129 130 |
# File 'lib/rbcurse/listselectable.rb', line 128 def firstrow @firstrow end |
#lastrow ⇒ Object
Returns the value of attribute lastrow.
128 129 130 |
# File 'lib/rbcurse/listselectable.rb', line 128 def lastrow @lastrow end |
#source ⇒ Object
Returns the value of attribute source.
128 129 130 |
# File 'lib/rbcurse/listselectable.rb', line 128 def source @source end |
#type ⇒ Object
Returns the value of attribute type.
128 129 130 |
# File 'lib/rbcurse/listselectable.rb', line 128 def type @type end |