Module: Tk::Img::PPM

Defined in:
ext/lib/tkextlib/tkimg/ppm.rb

Constant Summary collapse

PACKAGE_NAME =
'img::ppm'.freeze

Class Method Summary collapse

Class Method Details

.package_nameObject



20
21
22
# File 'ext/lib/tkextlib/tkimg/ppm.rb', line 20

def self.package_name
  PACKAGE_NAME
end

.package_versionObject



24
25
26
27
28
29
30
# File 'ext/lib/tkextlib/tkimg/ppm.rb', line 24

def self.package_version
  begin
    TkPackage.require('img::ppm')
  rescue
    ''
  end
end