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
480 481 482 483 |
# File 'lib/soby.rb', line 480 def accept fobj return true if fobj.canExecute return fobj.isDirectory end |
#getDescription ⇒ Object
484 485 486 |
# File 'lib/soby.rb', line 484 def getDescription "Applications" end |