Class: AppFilter
- Inherits:
-
Java::javax::swing::filechooser::FileFilter
- Object
- Java::javax::swing::filechooser::FileFilter
- AppFilter
- Defined in:
- lib/soby.rb
Overview
TODO: move this somewhere
Instance Method Summary collapse
Instance Method Details
#accept(fobj) ⇒ Object
469 470 471 472 |
# File 'lib/soby.rb', line 469 def accept fobj return true if fobj.canExecute return fobj.isDirectory end |
#getDescription ⇒ Object
473 474 475 |
# File 'lib/soby.rb', line 473 def getDescription "Applications" end |