Method: Notesgrip::NotesItem#CopyItemToDocument
- Defined in:
- lib/notesgrip/NotesItem.rb
#CopyItemToDocument(otherDoc, newName = nil) ⇒ Object
84 85 86 87 88 89 90 |
# File 'lib/notesgrip/NotesItem.rb', line 84 def CopyItemToDocument( otherDoc, newName=nil ) unless newName newName = self.Name end raw_newItem = @raw_object.CopyItemToDocument( toRaw(otherDoc), newName ) NotesItem.new(raw_newItem) end |