Class: File

Inherits:
Object
  • Object
show all
Defined in:
lib/convertr/convertor.rb

Overview

}}}

Class Method Summary collapse

Class Method Details

.filename(filepath) ⇒ Object

{{{ filename without extension



12
13
14
# File 'lib/convertr/convertor.rb', line 12

def self.filename(filepath)
  File.basename(filepath, File.extname(filepath))
end