Class: AppFilter

Inherits:
Java::javax::swing::filechooser::FileFilter
  • Object
show all
Defined in:
lib/soby.rb

Overview

TODO: move this somewhere

Instance Method Summary collapse

Instance Method Details

#accept(fobj) ⇒ Object



481
482
483
484
# File 'lib/soby.rb', line 481

def accept fobj
  return true if fobj.canExecute
  return fobj.isDirectory
end

#getDescriptionObject



485
486
487
# File 'lib/soby.rb', line 485

def getDescription
  "Applications"
end