In Files

  • tk/lib/tkextlib/trofs/trofs.rb

Class/Module Index [+]

Quicksearch

Tk::Trofs

Constants

PACKAGE_NAME

Public Class Methods

create_archive(dir, archive) click to toggle source
 
               # File tk/lib/tkextlib/trofs/trofs.rb, line 36
def self.create_archive(dir, archive)
  tk_call('::trofs::archive', dir, archive)
  archive
end
            
mount(archive, mountpoint=None) click to toggle source
 
               # File tk/lib/tkextlib/trofs/trofs.rb, line 41
def self.mount(archive, mountpoint=None)
  # returns the normalized path to mountpoint
  tk_call('::trofs::mount', archive, mountpoint)
end
            
package_name() click to toggle source
 
               # File tk/lib/tkextlib/trofs/trofs.rb, line 22
def self.package_name
  PACKAGE_NAME
end
            
package_version() click to toggle source
 
               # File tk/lib/tkextlib/trofs/trofs.rb, line 26
def self.package_version
  begin
    TkPackage.require('trofs')
  rescue
    ''
  end
end
            
umount(mountpoint) click to toggle source
 
               # File tk/lib/tkextlib/trofs/trofs.rb, line 46
def self.umount(mountpoint)
  tk_call('::trofs::umount', mountpoint)
  mountpoint
end
            

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.

blog comments powered by Disqus