Class: Notesgrip::NotesViewEntryCollection
- Inherits:
-
GripWrapper
- Object
- GripWrapper
- Notesgrip::NotesViewEntryCollection
- Defined in:
- lib/notesgrip/NotesView.rb
Overview
====================================================
NotesViewEntryCollection Class ================
====================================================
Instance Method Summary collapse
- #count ⇒ Object (also: #size)
- #each_viewEntry ⇒ Object (also: #each)
- #inspect ⇒ Object
Methods inherited from GripWrapper
Constructor Details
This class inherits a constructor from Notesgrip::GripWrapper
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Notesgrip::GripWrapper
Instance Method Details
#count ⇒ Object Also known as: size
445 446 447 |
# File 'lib/notesgrip/NotesView.rb', line 445 def count @raw_object.Count end |
#each_viewEntry ⇒ Object Also known as: each
435 436 437 438 439 440 441 442 |
# File 'lib/notesgrip/NotesView.rb', line 435 def each_viewEntry raw_entry = @raw_object.GetFirstEntry while raw_entry next_entry = @raw_object.GetNextEntry(raw_entry) yield NotesViewEntry.new(raw_entry) raw_entry = next_entry end end |
#inspect ⇒ Object
450 451 452 |
# File 'lib/notesgrip/NotesView.rb', line 450 def inspect "<#{self.class}, Count:#{self.Count}>" end |