Module: Fec::FileHelper
- Included in:
- FileExtensionChanger
- Defined in:
- lib/fec/file_helper.rb
Instance Method Summary collapse
Instance Method Details
#directory?(parrent, path) ⇒ Boolean
3 4 5 |
# File 'lib/fec/file_helper.rb', line 3 def directory?(parrent, path) File.directory?(File.join(parrent, path) && !(path == '.' || path == '..')) end |