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
247
248
249
|
# File 'lib/notesgrip/NotesView.rb', line 247
def count
@raw_object.Count
end
|
#each_viewEntry ⇒ Object
Also known as:
each
237
238
239
240
241
242
243
244
|
# File 'lib/notesgrip/NotesView.rb', line 237
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
252
253
254
|
# File 'lib/notesgrip/NotesView.rb', line 252
def inspect
"<#{self.class}, Count:#{self.Count}>"
end
|