Module: ReapMotion::ListHelper
- Includes:
- Enumerable
- Included in:
- comcom::leapmotioncom::leapmotion::leap::DeviceList, comcom::leapmotioncom::leapmotion::leap::FingerList, comcom::leapmotioncom::leapmotion::leap::GestureList, comcom::leapmotioncom::leapmotion::leap::HandList, comcom::leapmotioncom::leapmotion::leap::PointableList, comcom::leapmotioncom::leapmotion::leap::ToolList
- Defined in:
- lib/reapmotion/util/list_helper.rb
Instance Method Summary collapse
Instance Method Details
#<<(other) ⇒ Object
5 6 7 |
# File 'lib/reapmotion/util/list_helper.rb', line 5 def <<(other) append(other) end |
#[](index) ⇒ Object
9 10 11 |
# File 'lib/reapmotion/util/list_helper.rb', line 9 def [](index) get(index) end |
#each ⇒ Object
13 14 15 16 17 18 |
# File 'lib/reapmotion/util/list_helper.rb', line 13 def each iter = iterator while iter.has_next yield iter.next end end |