Class: Qt::ItemSelection
- Includes:
- Enumerable
- Defined in:
- lib/qtext/extensions.rb
Instance Method Summary collapse
- #first ⇒ Object
- #last ⇒ Object
-
#size ⇒ Object
can’t alias this because it doesn’t work with Qt bindings.
Instance Method Details
#first ⇒ Object
114 115 116 |
# File 'lib/qtext/extensions.rb', line 114 def first self.at(0) end |
#last ⇒ Object
118 119 120 |
# File 'lib/qtext/extensions.rb', line 118 def last self.at(count-1) end |
#size ⇒ Object
can’t alias this because it doesn’t work with Qt bindings
112 |
# File 'lib/qtext/extensions.rb', line 112 def size; self.count; end |