Class: Notesgrip::NotesViewEntryCollection
Overview
NotesViewEntryCollection Class ================
Instance Method Summary
collapse
Methods inherited from GripWrapper
#initialize, #raw
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
|