Class: RubyCurses::TableEditingEvent
Overview
caller can create one and reuse NOTE TODO
Instance Attribute Summary collapse
-
#col ⇒ Object
Returns the value of attribute col.
-
#newvalue ⇒ Object
Returns the value of attribute newvalue.
-
#oldvalue ⇒ Object
Returns the value of attribute oldvalue.
-
#row ⇒ Object
Returns the value of attribute row.
-
#source ⇒ Object
Returns the value of attribute source.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(row, col, source, oldvalue, newvalue, type) ⇒ TableEditingEvent
constructor
A new instance of TableEditingEvent.
- #inspect ⇒ Object
- #set(row, col, source, oldvalue, newvalue, type) ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(row, col, source, oldvalue, newvalue, type) ⇒ TableEditingEvent
Returns a new instance of TableEditingEvent.
1706 1707 1708 |
# File 'lib/rbcurse/rtable.rb', line 1706 def initialize row, col, source, oldvalue, newvalue, type set row, col, source, oldvalue, newvalue, type end |
Instance Attribute Details
#col ⇒ Object
Returns the value of attribute col.
1705 1706 1707 |
# File 'lib/rbcurse/rtable.rb', line 1705 def col @col end |
#newvalue ⇒ Object
Returns the value of attribute newvalue.
1705 1706 1707 |
# File 'lib/rbcurse/rtable.rb', line 1705 def newvalue @newvalue end |
#oldvalue ⇒ Object
Returns the value of attribute oldvalue.
1705 1706 1707 |
# File 'lib/rbcurse/rtable.rb', line 1705 def oldvalue @oldvalue end |
#row ⇒ Object
Returns the value of attribute row.
1705 1706 1707 |
# File 'lib/rbcurse/rtable.rb', line 1705 def row @row end |
#source ⇒ Object
Returns the value of attribute source.
1705 1706 1707 |
# File 'lib/rbcurse/rtable.rb', line 1705 def source @source end |
#type ⇒ Object
Returns the value of attribute type.
1705 1706 1707 |
# File 'lib/rbcurse/rtable.rb', line 1705 def type @type end |
Instance Method Details
#inspect ⇒ Object
1715 1716 1717 |
# File 'lib/rbcurse/rtable.rb', line 1715 def inspect to_s end |
#set(row, col, source, oldvalue, newvalue, type) ⇒ Object
1709 1710 1711 |
# File 'lib/rbcurse/rtable.rb', line 1709 def set row, col, source, oldvalue, newvalue, type @row, @col, @source, @oldvalue, @newvalue, @type = row, col, source, oldvalue, newvalue, type end |
#to_s ⇒ Object
1712 1713 1714 |
# File 'lib/rbcurse/rtable.rb', line 1712 def to_s "TABLEDITING #{@type} row: #{@row}, col: #{@col}, oldval: #{@oldvalue}, newvalue: #{@newvalue}, source: #{@source}" end |