Class: Uhferret_lib::Document

Inherits:
Object
  • Object
show all
Defined in:
lib/uhferret.rb

Overview

Extend the native class with some convenience methods.

Instance Method Summary collapse

Instance Method Details

#filenameObject

Return the filename for this document.



425
426
427
# File 'lib/uhferret.rb', line 425

def filename
  File.basename(self.GetPathname)
end

#group_idObject

Return the id for this document.



435
436
437
# File 'lib/uhferret.rb', line 435

def group_id
  self.GetGroupId
end

#pathnameObject

Return the full pathname for this document.



430
431
432
# File 'lib/uhferret.rb', line 430

def pathname
  self.GetPathname
end