Class: File
Class Method Summary collapse
Class Method Details
.mp_extension(path) ⇒ Object
TODO
4 5 6 7 |
# File 'lib/ruby/commons/core_ext/file/extname.rb', line 4 def self.mp_extension(path) extension = File.extname(path || '') extension[1..-1] if extension.mp_present? end |