Class: CommonEngine::Chapter

Inherits:
ApplicationRecord
  • Object
show all
Defined in:
app/models/common_engine/chapter.rb

Instance Method Summary collapse

Instance Method Details

#get_unescaped_file_nameObject



21
22
23
# File 'app/models/common_engine/chapter.rb', line 21

def get_unescaped_file_name
  URI.unescape(self.file_name.to_s.gsub(/.*\//, ''))
end